Idled (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Example added
>Tenal
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|
<onlyinclude>{{Event|name = Idled
|<onlyinclude>{{Event|name = Idled
|arguments = [[Number]] ''time''
|arguments = [[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.
|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.
|object = [[Player]]
|object = Player
|}}</onlyinclude>
}}</onlyinclude>
|}
 
{{clear floats}}
 
{{Example|<pre>
{{Example|<pre>
game.Players.Player.Idled:connect(function()
game.Players.Player.Idled:connect(function()
Line 11: Line 12:
end)
end)
</pre>}}
</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)