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

rewindStep

rewindStep(world, character, step, rewindBounds?): number

The step the room judges an action of hers at that names step: the step she named, held within toleranceSeconds of her measured latency and to at most maximumSeconds behind the room’s step, never past it. A step outside is judged at the nearest edge. With no latency measured yet, only the second holds it. A world the room keeps no history for, such as a page’s, takes the step as named.

Parameter Type
world World
character Entity
step number
rewindBounds RewindBounds

number