engine icon indicating copy to clipboard operation
engine copied to clipboard

Fire touch event for when a touch enters a UI element

Open yaustar opened this issue 3 years ago • 3 comments

There are use cases where we would want to know if a touch is moved onto an element such moving between on screen buttons for a dpad

Forum discussion: https://forum.playcanvas.com/t/touch-enter-event/25294

yaustar avatar Apr 19 '22 16:04 yaustar

I'm also interested in touchleave event for the same purpose: dpad

wadim-al avatar Jun 15 '23 15:06 wadim-al

Going to add my own interest to this one. The current application that I'm working on requires the user to drag elements over top other elements (not in a grid) to check if a match has been made.

eproasim avatar Feb 14 '24 18:02 eproasim