Skip to main content
Version: 4.6.0

Pinch and Rotate

Pinch and Rotate detects and responds to the position of two fingers on screen. Try adding the Two-Finger Rotate and Pinch to Scale interactions with this node.

pinch and rotate node

Output

NameData TypeDescription
PinchExecExecute the next node when two touch points are detected on the screen
Relative ScaleNumberOutputs a scale relative to the starting distance between the two fingers
Relative AngleNumberMeasures the angle of the vector between the two fingers' touch points. It will output an angle, in radii, relative to the angle the two fingers start at.