Skip to content

StepFrequency

Not yet Enum

Enum used with RunService.BindToSimulation() to indicate the frequency at which the bound function is called.

Not implemented in Nova

This enum is missing from Nova. Scripts that reference it will fail.

Description

Enum used with RunService.BindToSimulation() to indicate the frequency at which the bound function is called during the simulation step.

The Roblox simulation pipeline runs at 60 Hz. Each StepFrequency value divides that base rate so the bound callback fires at the requested cadence and receives a deltaTime argument representing the simulation-time interval represented by the invocation. Choosing a lower frequency reduces per-frame overhead for logic that does not need to run every physics tick, such as periodic state checks. Because these callbacks run on the simulation step and can be replayed during client resimulation, avoid using them for actions that must occur exactly once, such as network replication. The default frequency for RunService.BindToSimulation() is StepFrequency.Hz30.

Items

Item Value Status Notes
Hz60 0 Not yet The bound function is called at 60 Hz.
Hz30 1 Not yet The bound function is called at 30 Hz.
Hz15 2 Not yet The bound function is called at 15 Hz.
Hz10 3 Not yet The bound function is called at 10 Hz.
Hz5 4 Not yet The bound function is called at 5 Hz.
Hz1 5 Not yet The bound function is called at 1 Hz.

Roblox reference: StepFrequency