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

registerGlowSprite

registerGlowSprite(world, options): Disposer

Draws sprite in the world’s glow sprite batch until the returned call takes it off. The batch reads the record each frame, so write its position to move it, and its other values to change it. A room keeps the registration and draws nothing.

Parameter Type
world World
options GlowSpriteOptions

Disposer