All I want, is a sliding Window when someone pushes a specific keyboard Button.
I got it so far working, that my window is moving (changing the location on X):
However, I can't figure out how to trigger this action only, of someone Presses a specific Button on the Keyboard.
Example: Someone is pressing the Keyboard Button "E" ---> then let's start moving the window.
And when someone is pressing the "E" Button again, let's move the Window back again to it's initial position.
Thanks a lot for any little help,
appreciate it!
I got it so far working, that my window is moving (changing the location on X):
However, I can't figure out how to trigger this action only, of someone Presses a specific Button on the Keyboard.
Example: Someone is pressing the Keyboard Button "E" ---> then let's start moving the window.
And when someone is pressing the "E" Button again, let's move the Window back again to it's initial position.
Thanks a lot for any little help,
appreciate it!
Comment