this is what im trying to get
if attack_anim is finished:
$AnimatedSprite.play("idle")
but i dont understand what to do like using isplaying or animationfinished() because im an absolute beginner, this is all i have right now:
`#func attack():
if Input.isactionjustpressed("uihit") and isonfloor():
is_Attacking = true
print("hit")
$AnimatedSprite.play("Attack")