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

playClip

playClip(entity, name, playClipOptions?): void

Plays the clip named name once on entity, over whatever it loops, then fades back to the loop, as Unreal plays a montage over its state machine. On an avatar it is a clip registerClip named; on a model, a clip its file holds. A call while a clip plays on the same layer starts the new one, the same one again included. Written on the entity, so a room streams it and every page plays it.

Parameter Type
entity Entity
name string
playClipOptions PlayClipOptions

void