- Home /
IPointerEnterHandler / IPointerExitHandler and touch
Hi.
I was wondering if IPointerEnterHandler and IPointerExitHandler work with touch input as well. I mean, with touch, there is obviously no pointer hovering over element possible, but for instance when item is dragged over another item, one can say that pointer enter and pointer exit events should be fired. Is that a case?
The only information available in documentation is sadly - "...the mouse begins to hover over a certain GameObject.".
Cheers.
Comment
Best Answer
Answer by pauldarius98 · Feb 24, 2021 at 08:37 PM
Yes, IPointerEnterHandler and IPointerExitHandler will work on mobile devices too.