releaseControl
releaseControl(
authority,entity):void
Clears entity’s controller from the next tick: it reads neutral
input, and the player’s page draws it from the stream. Its
ControlledTrait stays, so its own systems step it on, and so does
its serial. Nothing for an entity no one controls.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
authority |
EntityAuthority |
entity |
Entity |
Returns
Section titled “Returns”void