Reference API Roblox

Engine API

Website

Related

Reference API Roblox

SensorUpdateType

Controls when a sensor recalculates its output properties.

Items 2

HistoryNameValueDescription
565OnRead0

The sensor lazily recalculates its output the next time an output property is read and the output is marked dirty.

565Manual1

The sensor never automatically recalculates its output; scripts are responsible for driving output updates.

Description

Controls when a sensor recalculates its output properties. Assign this enum to the UpdateType property on any SensorBase‑derived instance (ControllerSensor, FluidForceSensor, AtmosphereSensor) to choose between automatic lazy evaluation and fully manual control.

History 3

Settings