I'm toying with the "drag and drop" movement. What I need is: When letting go of the object it must return to its starting point (unless letting go at a specific location).
As there is no "on mouse-key up" function I don't know how to achieve this?
Printable View
I'm toying with the "drag and drop" movement. What I need is: When letting go of the object it must return to its starting point (unless letting go at a specific location).
As there is no "on mouse-key up" function I don't know how to achieve this?
You can detect if the mouse has just been released with a bit of a workaround:
(Negated) Repeat while left mouse button pressed
+ Only one action when event loops
...which would fire once, as soon as the left mouse button is no longer pressed. (You would need to avoid triggering it at the start of the frame, as
Much appreciated!