Skip to content

cf_sprite_set_loop

Category: sprite
GitHub: cute_sprite.h


Sets whether or not the sprite can loop. True for looping. If false the animation will pause on the final frame.

void cf_sprite_set_loop(CF_Sprite* sprite, bool loop)