you could detect if neither direction is pressed
if directionF:
# movement
if directionS:
# movement
if directionF == 0.0 and directionS == 0.0:
# idle animation
Make sure to paste code instead of screenshots
you could detect if neither direction is pressed
if directionF:
# movement
if directionS:
# movement
if directionF == 0.0 and directionS == 0.0:
# idle animation
Make sure to paste code instead of screenshots