IPointerEnterHandler / IPointerExitHandler and touch


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.”.


Yes, IPointerEnterHandler and IPointerExitHandler will work on mobile devices too.