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](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/pinch_and_rotate-5280bbff03224fe13c2fb7020cf4790c.png)
Output
Name | Data Type | Description |
---|---|---|
Pinch | Exec | Execute the next node when two touch points are detected on the screen |
Relative Scale | Number | Outputs a scale relative to the starting distance between the two fingers |
Relative Angle | Number | Measures 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. |