Idled (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Added.
 
>Tenal
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|
<onlyinclude>{{Event|name = Idled
|<onlyinclude>{{Event|
|arguments = [[Number]] ''time''
name = Idled
|description = Fired periodically after the user has been away for a while. Currently this event is only fired for the local Player. ''time'' is the time in seconds that the user has been idle.
|arguments = [[Double]] ''time''
|object = Player
|description = Fired periodically after the user has been away for a while. Currently this event is only fired for the local Player. "time" is the time in seconds that the user has been idle.
}}</onlyinclude>
|object = [[RBX.lua.Player (Object)|Player]]
 
|}}</onlyinclude>
{{clear floats}}
|}
 
{{Example|<pre>
game.Players.Player.Idled:connect(function()
  print("Idling")
end)
</pre>}}
[[Category:Events]]

Latest revision as of 03:32, 7 February 2012

Idled ( Number time )
Description Fired periodically after the user has been away for a while. Currently this event is only fired for the local Player. time is the time in seconds that the user has been idle.
Member of: Player


Example
game.Players.Player.Idled:connect(function()
  print("Idling")
end)