Function: GetPosition or onDragStop for iPad

Thomas Binder shared this problem 6 years ago
Solved

Is there any possibility to get the position of an object or is there any function like onDragStop which is also working for iPad?


My Problem:


I'm moving an object on the iPad by onDrag. If i'm stop dragging the object i need something to check if it's current position is the target position the object needs to be move to.

Comments (3)

photo
1

Yes, there is an event type called 'on drag stop' to handle that. You can take a look at the tutorial about how to prototype drag and drop. The examples there are also quite useful.

photo
1

Hi,


i've already tried this event, but when i'm going to define a destination widget with "when drop on", this is only working on the PC/Mac and not on the iPad, which is the target platform for my prototyp.

photo
1

You're right. It has been fixed in the version we launch tomorrow.