Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I want to create a typing game. How would I get the last key pressed?
(It is possible I am thinking of doing it the wrong way, so if you have any questions or comments please speak up)
Develop games in your browser. Powerful, performant & highly capable.
I was thinking Keyboard.StringFromKeyCode(0)
but that doesnt seem to work.
Use the expression keyboard.StringFromKeyCode(Keyboard.LastKeyCode).
EDIT: Just saw that this was a necro-post. Sorry. Anyway that is the expression that you want, — Next time please don't post across multiple threads.