- Home /
The mouse click event is triggered when the UI button is pressed in New Input System
I use the standard action Left Button [Mouse] in the New Input System. Is there a way not to trigger an event when the UI button is clicked. When using Event System.current.IsPointerOverGameObject, a warning is issued: Calling IsPointerOverGameObject() from within event processing (such as from InputAction callbacks) will not work as expected; it will query UI state from the last frame
Your answer
Follow this Question
Related Questions
How do I detect when UI events are triggered on *any object*? 1 Answer
Gamepad menu navigation with uGUI not working as expected. 1 Answer
each character doubled in inputfield in build but not editor on ubuntu 16.04 2 Answers
Bug with unity scroll rect and mouse down 0 Answers
How to solve event triggers blocking scrollview inputs in an inventory/menu? 2 Answers