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

setIgnoreInput

setIgnoreInput(authority, player, isIgnored): void

Has every entity player controls read the player’s input at rest, or as the player sends it again with false. readInput reads each input’s rest and readInputChanges none, on the room and on the player’s own page, which the room streams the change to. The player’s page still sends commands, so a button that asks the room for something works. What a spectator’s character stands on while the spectator’s camera follows another player, and a cutscene’s. Takes the room’s step, requireAuthority, or a join hook’s step; throws on a page in a room, which never changes it. As Unreal’s SetIgnoreMoveInput and SetIgnoreLookInput together, on the player rather than the player’s controller.

Parameter Type
authority EntityAuthority
player Entity
isIgnored boolean

void