whats wrong with my code?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ARSHAVIR_GM

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”)

:bust_in_silhouette: Reply From: Wakatta

Misspelling of the word pressed on line 6

if event.isaction_perssed(“action”): # action print(“action pressed”)