Godot-4.4.1
Hello, very beginner here. My dashing animation is being canceled by player idle and player animations, how can i fix this?
if is_on_floor() and !current_attack:
if Input.is_action_just_pressed("Z"):
dashing = true
$Dash.start()
if !velocity:
animated_sprite.play("Player İdle")
if velocity:
animated_sprite.play("Player Run")
toggle_flip_sprite(direction)
elif !is_on_floor() and !current_attack:
animated_sprite.play("Player Jump")