Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ARSHAVIR_GM |
hi
nothing is wrong with my code but i dont know why it gets error
func _input(event):
if event.is_action_pressed(“left”): #left
print(“left pressed”)
if event.is_action_perssed(“right”): # right
print(“right pressed”)
if event.is_action_perssed(“action”): # action
print(“action pressed”)