Stepped (Event)

From Legacy Roblox Wiki
Revision as of 21:59, 25 January 2012 by >Legend26 (Strangely the second argument never changes and is always 1/30 no matter how much lag.)
Jump to navigationJump to search
Stepped ( Number time, Number step )
Description Fired on every 'step' in the RunService, a time of approximately 1/30th of a second. The time argument is how long run service has been running overall. The step argument seems to always be 1/30, one frame in script time.
Member of: RunService


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