Reference API Roblox

Engine API

Website

Related

Reference API Roblox

StepFrequency

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

Items 6

HistoryNameValueDescription
699Hz600

The bound function is called at 60 Hz.

699Hz301

The bound function is called at 30 Hz.

699Hz152

The bound function is called at 15 Hz.

699Hz103

The bound function is called at 10 Hz.

699Hz54

The bound function is called at 5 Hz.

699Hz15

The bound function is called at 1 Hz.

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.

History 7

Settings