- set-animation! ANIMATED-SPRITE ANIMATIONprocedure
Set the ANIMATION that the ANIMATED-SPRITE should be playing. #:once type animations are played once before the last looping animation resumes, while #:loop type animations will loop continuously until another #:loop animation is set. Setting an animation that is already the current animation of the ANIMATED-SPRITE has no effect.