What i want to happen:
When alt is pressed i can only effect the UI.
When it released it goes back to controlling just the player character.
What actually happens:
When i press alt (ShowMouseCursor) the even triggers as it should.
However as soon as i click anywhere on the UI (with the ShowMouseCursor still pressed) the released action triggers.
I’m well aware this is something im probably doing wrong. im guessing its something to do with the control being taken away from the player controller?
This is what i have inside the player controller.
Can anyone suggest a fix or a tutorial?
Appreciate any help.