The Code I Use
if Input.is_action_pressed(“walk_lft”) && isAttacking == false: velocity.x = -125 $AnimatedSprite.play(“walk”) isAttacking = false; facing_right = false
Maybe this will help?
if Input.is_action_pressed("walklft") && isAttacking == false: velocity.x = -125 # Check for whether the animation is playing. if not $AnimatedSprite.is_playing(): $AnimatedSprite.play("walk") isAttacking = false; facing_right = false
Still doesn’t work
Trumble | 2020-11-30 20:07