Talos docs

SpriteAnimationEvent

Since next

A bus event a sprite animation raises each time it reaches one of its frames.

Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
framenumberyesWhich entry of the animation's frames raises it, counting from 0: a whole number below their count.
namestringyesThe bus event raised each time the entry starts to show, not empty, with { entity, animation, frame }, as the animation-end event is. Not on a frame shown with ctx.sprite.frame.