Idled (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Example added
>Legend26
Formatting...
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()

Revision as of 22:04, 4 January 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)