Upvote 1

OnDragStart + Conditions for moving an object

Answered Angelina 7 years ago

When created the OnDragStart gesture and i set an event Move. I also want to add a condition in there when a moving object reach a certain position ( range for x: 70 - 150 ) the object would be highlighted ( lets say change background color) As soon as OnDragEnd begins everything goes back as it was before draging. How is that possible to implement?

Replies (1)

Hi Angelina,

Please find attached an example I've created for you. I hope it helps.


Sonia Durán

Leave a Comment
Attach a file