Skip to content
TypeAliasAnimation & Atlases@public

FlxAnimationCallback

Called whenever a sprite materializes a new animation frame.

ts
export type FlxAnimationCallback = (animationName: string | null, frameNumber: number, frameIndex: number) => void

Released under the MIT License.