Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

SpriteFrameResult

The frame readSpriteFrame reads.

Type Parameter Default type
Clip extends string string
Property Type Description
clip Clip The clip the one-shot plays.
frame number The frame shown: an index into the sheet’s frames.
position number Its place in the clip’s frames; a ping-pong pass’s last, its return to the first frame, is the clip’s length.
timeSeconds number Seconds into the clip the play stands at.