Skip to content

Instantly share code, notes, and snippets.

@ijoschek
Last active December 22, 2018 09:35
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/94efafc5694be2261443660a79b1eb92 to your computer and use it in GitHub Desktop.
Save ijoschek/94efafc5694be2261443660a79b1eb92 to your computer and use it in GitHub Desktop.
godot_custom_keybind_tut
func _mark_button(string):
can_change_key = true
action_string = string
for j in ACTIONS:
if j != string:
get_node("Panel/ScrollContainer/VBoxContainer/HBoxCont_" + str(j) + "/Button").set_pressed(false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment