Seated (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Fixed args, added example
>Camoy
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|
<onlyinclude>{{Event
|<onlyinclude>{{Event|name = Seated
|name = Seated
|arguments = [[Bool]] ''active''
|arguments = [[Bool]] ''active''
|description = Fired after a humanoid sits.
|description = Fired after a humanoid sits.
|object  = [[Humanoid]]
|object  = Humanoid
|}}</onlyinclude>
}}</onlyinclude>
|}
 
{{clear floats}}
 
{{Example|<pre>
{{Example|<pre>
game.Workspace.Player.Humanoid.Seated:connect(function()
game.Workspace.Player.Humanoid.Seated:connect(function()
Line 11: Line 13:
end)
end)
</pre>}}
</pre>}}
[[Category:Events]]

Latest revision as of 15:46, 29 January 2011

Seated ( Bool active )
Description Fired after a humanoid sits.
Member of: Humanoid


Example
game.Workspace.Player.Humanoid.Seated:connect(function()
  print("Seated")
end)