Use Screen Hold to execute the next node when someone touches and holds the device screen for over 200 ms. Screen Hold is in the Event category.
Here is an example of the Position coordinates for Screen Hold.
|Next||Exec||Execute the next node when someone touches and holds the device screen|
|Duration||Number||The time of tapping and holding the screen in seconds|
|Position||Vec2||The 2D normalized position of the tapping point|
In this example, we use Screen Hold to change the scale of the image (The unit of Duration is millisecond, so you need to divide by 1000 to convert it into seconds). The position of screening hold will update the position of the image as well.
Here, we transform the screen interaction coordinates (left) to 2d transform coordinate (right) of the image by using Remap node so that we can put our image at the place we touch the screen.