Use the Screen Pinch patch to make something happen while the screen is pinched.
You can add a Screen Pinch patch to an AR Studio project in this tutorial.
Set the scale value of a gesture in progress to 1.
Enable screen pinches to be captured.
A signal that's on when a gesture is captured.
The scale of the pinch, starting from 1.
We set the graph below to make an object appear when the user pinches the screen.
To do this, we connected the State output of the Screen Pinch patch to the Visible input on the object patch.
While the user pinches the screen, a check appears to the right of Visible and the object appears on the user’s face.
When the user stops pinching the screen, the object is no longer Visible.