Can I use onHover when mouse button is held? - Currently, it does not seem possible.
What I want to achieve is that a sprite is shown as long as I hold the left mouse button down and move the mouse over a grid of buttons.
Showing the sprite works fine when I use onHover, but I can't get it working together with holding the mouse button down.
Can I add some code into the "if(isOver)" brackets which makes this possible?
Or can I use something else to check if the mouse button is hold and the cursor is currently over the buttons?
PS: I do not want to press the buttons while holding the mouse button down. I just want to show the current position of the mouse on the grid by showing the sprite.