Skip to content

Seat

Inherits Part

Seats are parts the player can sit on.

Properties

Occupant : NPC

Indicates who is currently occupying the seat.

CanNPCSit : boolean

Determines whether NPCs are allowed to sit on this seat or only players.

Events

Sat

Parameters: occupant [ NPC ]

Fires when an occupant sits on the seat.

Vacated

Parameters: occupant [ NPC ]

Fires when an occupant leaves the seat.