1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

SensorUpdateType

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.

Items

NameValueDescription
OnRead0The sensor lazily recalculates its output the next time an output property is read and the output is marked dirty.
Manual1The sensor never automatically recalculates its output; scripts are responsible for driving output updates.

OnRead

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

FieldValue
value0

Manual

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

FieldValue
value1