Seated (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Fixed
>Camoy
Fixed args, added example
Line 1: Line 1:
{|
{|
|<onlyinclude>{{Event|name = Seated
|<onlyinclude>{{Event|name = Seated
|arguments =
|arguments = [[Bool]] ''active''
|description = Fired after a humanoid sits.
|description = Fired after a humanoid sits.
|object  = [[Humanoid]]
|object  = [[Humanoid]]
|}}</onlyinclude>
|}}</onlyinclude>
|}
|}
{{Example|<pre>
game.Workspace.Player.Humanoid.Seated:connect(function()
  print("Seated")
end)
</pre>}}

Revision as of 16:04, 29 August 2010

Seated ( Bool active )
Description Fired after a humanoid sits.
Member of: [[RBX.lua.Humanoid (Object)|Humanoid]]
Example
game.Workspace.Player.Humanoid.Seated:connect(function()
  print("Seated")
end)