Upvote 1

Drag and drop - Threshold trigger

Answered Victor Conesa 9 years ago

4197ce90407d2368e8928ba3d3ab7471


I'm trying to figure out how I can drag a panel down and when it hits a certain mark on the canvas or threshold that the panel being dragged could then shoot down on it's own to a certain location. I think it has to do with an expression but the expressions I still don't fully understand. Any help?

Replies (2)
photo
1

Hello Michael,


You can do this using the following conditions:


[On Drag event type]


When Condition


Circle (Positive Y relative) is less than or equal to the line (Positive Y relative)


Move Action


Move with cursor for both top and left


Else Condition


Circle (Positive Y relative) is greater the line (Positive Y relative)


Move Action


Move to fixed position


I have created a prototype for you that explains how to do so. If you would like to have access to it, please send us an email.


Best,


Luisa

photo
1

Hey Luisa, just send an email my email is msp@piercedesigns.com look forward to deconstructing your example file.


thank you,


-Michael

Leave a Comment
 
Attach a file