Hey sweeties! I have next problem with my smexy tank game. How to set variable to the last pressed key. I tried with Keyboard.LastKeyCode, but its like to not working. Someone help?
Develop games in your browser. Powerful, performant & highly capable.
Hello,
Ive tested here and using: On any key pressed -> System set value to variable -> Keyboard.LastKeyCode and it works, it saves the last pressed key code.
Edit:
if you want the symbol of the key use:
Keyboard.TypedKey