Yuari
Documentation
Docs/Core functions/RenderStepped

RenderStepped

Global alias of RunService.RenderStepped.

Syntax

RenderStepped:Connect(fn)
RenderStepped:Once(fn)
RenderStepped:Wait()

Parameters

This function takes no parameters.

Returns

TypeDescription
RBXScriptConnectionConnection returned by Connect or Once.

Description

The global signal is the same VM signal as RunService.RenderStepped and is pumped by the external scheduler.

Example

RenderStepped:Connect(function(dt)
    print(dt)
end)

Notes

  • Callbacks receive delta time.
  • Disconnect the signal when the script stops if it captures expensive state.