#Reliable way to detect the "release" moment when dragging using InputEventScreenDrag

6 messages · Page 1 of 1 (latest)

livid pilot
#

Hi people, I'm trying to do a drag and drop pieces in a scene for android and I can't find a reliable way to handle the "release" moment, to say, i need to add some behaviour at the moment you finish dragging the piece over the screen...

the code that makes my piece move around is the attached in the image.

#

I already know I should be using _unhandled_input(), i'm about to change that

#

but that's not my problem now

#

tambien se hablar español (por si las dudas)

valid spire
#

It works like the Mouse button and Mouse motion input events.