Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func _input(event):
- if (event.is_action_pressed("key"):
- Input.action_press("ui_up")
- Input.action_release("ui_up")
- doStuff()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement