If you are using AnimatedSprite
, and the idle animation is just one frame, and the moving animations contain the frame you want, then you should be able to simply set the frame
property to the idle frame whenever you stop moving. On the other hand, if you want actual idle animations, then you may need to make separate animations and switch to them using play
.