The left key input doesn't seem to work now. It is still working in one of my earlier project in the editor.

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

This is the code that I am using , which doesnt seen to work at all now…

if Input.is_action_pressed(“left”) and not Input.is_action_pressed(“right”):
motion.x = -SPEED
elif Input.is_action_pressed(“right”) and not Input.is_action_pressed(“left”):
motion.x = SPEED
motion.x = 0

:bust_in_silhouette: Reply From: jgodfrey

Are the left and right keyboard actions still correctly mapped in the offending project? Take a look at Project Settings | Input Map.