Serhy "Here too you have different possibilities for how exactly the InputEvent should be handled. For example, you can use event.is_echo() to make sure, the event is only once registered''
func _input(event):
if event.is_action("JUMP") && !event.is_echo() && event.is_pressed():
print("jump...")
if event.is_action_released("JUMP"):
print("Up and down!")