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

wakeUp

wakeUp<Target>(authority, entity): BodyRefusal | null

Wakes a sleeping dynamic body, so the next step moves it. Returns null, or in a deployed world the reason it refused.

Type Parameter
Target extends Entity
Parameter Type
authority EntityAuthority
entity BodyTarget<Target, Dynamic>

BodyRefusal | null