AnimatedSprite:update_sprite_animation

Updates the current animation frame drawn by this component.

When using a DrawSystem, you never have to call this function yourself.

Usage

animated_sprite:update_sprite_animation(delta_time)

Arguments

Name Type Description
delta_time number Delta time in seconds.

This site uses Just the Docs, a documentation theme for Jekyll.