Seat

A seat. It is a craftable and spawnable non-flammable solid.
Here is a list of possible sizes that reach the maximum malleability (9) that have integer components: 1x1x9, 1x3x3
At its default size (2x1x2) it has a durability of 3, at its maximum size it has a durability of 4.
By default, its colour is #000000.
Methods
EjectOccupant()
Ejects the seat occupant.
GetOccupant() → currentOccupant
Retrieves the UserId
of the seat's occupant, it will be nil
if there is no occupant.
The currentOccupant return is the UserId
of the seat's occupant, or nil
if there is no occupant. It is a number
. It can also be nil
.
Events
OccupantChanged(newOccupant)
Fires when the occupant of the seat changes.
The newOccupant parameter is the UserId
of the seat's occupant, or nil
if there is no occupant. It is a number
. It can also be nil
.