I can’t figure out why left mouse click is not being detected using OnMouseButton down within my widget but all other mouse buttons work (I’ve tested this using print strings to verify). I’ve tried setting input to UI only as well as game and UI and it didn’t change anything. I don’t have any other input actions that use the left mouse button either, it just wont detect it at all no matter what I try.
It won’t even detect the left click at all, without using any Boolean checks such as is mouse button equal to etc, putting a print string after the OnMouseButtonDown event it isn’t called when i left click only, but works for right click and middle mouse button.
At a loss really, not sure what else to try and am unable to find anything anywhere that explains a similar issue.
I don’t have any no. I am using the default input system for movement etc whether that makes a difference. The only input actions I have added myself are the E key for interacting with objects. I’m sure it’s got to be something related to what you said though, just cant figure out what would be consuming the input…
Figured it out and it’s on me for not realizing, i had a button that was consuming the left click input… can’t believe I didn’t notice it at first! I fixed it by disabling the button and now it works.