API:Class/RunService/Stepped

Stepped

Event of RunService.pngRunService
RBXScriptSignal Stepped (
    double time,
    double step
)
Parameters:
  1. time
  2. step

Description: Fired on every "step" in the RunService, a time of approximately 1/60th of a second. The time argument is how long the RunService has been running overall. The step argument is the time since the last step.

Example

This code will print Stepped every frame.

game:GetService('RunService').Stepped:connect(function()
	print("Stepped")
end)