justinmind-logo
 
Upvote 1

Move object to position of hold tap

Answered Victor Conesa 8 years ago

Hi,


A beginner's question here:


I want to open a context menu in the position where you click.


How do make an object appear in the position of a tap hold gesture? I tried using the move event but I don't know where to get the the position of the last tap from. Is there a constant that retrieves the coordinates of a mobile geesture?


Any help is greatly appreciated!

Replies (2)
photo
1

Hi Peter,


It is not possible for Justinmind to store the exact click position. In this case, you can create hotspots to simulate areas of clicking and add an event related to it, so you can have different contextual menus hidden and, when clicking on an area, the related one will be shown.


Best,


Lidia

photo
1

Okay. Thanks for the quick info!

Leave a Comment
 
Attach a file