Customize keys with lastpressedkey

This explains how to remember the last key that was pressed and customize the inputs of your game.

How it's built?

This game is made with GDevelop using these features:

  • Keyboard
  • Mouse and touch
  • Objects
  • Scene
  • Variables
  • Sprite
  • Text object

Edit it in GDevelop

Try Customize keys with lastpressedkey online

Test and edit this example in the GDevelop game engine.