#Stop Input Action propagation on UI

1 messages · Page 1 of 1 (latest)

modest cairn
#

How can I stop the propagation of a click when is's on ui? I use the new input system
is there any other solution without

EventSystem.current.RaycastAll(eventData, results);```
unreal onyx
#

its the most accurate most of the time

#

there is EventSystem.current.IsPointerOverGameObject too but i recall that having a few issues

modest cairn
topaz bay
#

If you want UI to "block" interaction with 3d/2d colliders then use EventSystem pointer events