Skip to content

cf_sprite_animation_name_at

Category: sprite
GitHub: cute_sprite.h


Returns the name of the animation at the given index.

const char* cf_sprite_animation_name_at(const CF_Sprite* sprite, int index);
Parameters Description
sprite The sprite.
index Zero-based index of the animation.

Return Value

An interned string, or NULL if out of range.

CF_Sprite
cf_sprite_animation_count