Skip to content

Instantly share code, notes, and snippets.

@ijoschek
Last active December 22, 2018 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ijoschek/82e7940c3a36ce0b25336a7d03523b22 to your computer and use it in GitHub Desktop.
Save ijoschek/82e7940c3a36ce0b25336a7d03523b22 to your computer and use it in GitHub Desktop.
godot_custom_keybind_tut
func _input(event):
if event.is_action_pressed("JUMP"):
print("Jump")
if event.is_action_pressed("CROUCH"):
print("Crouch")
if event.is_action_pressed("KISS"):
print("Kiss")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment