# Sandbox.Mapping.Door.Pivot

```csharp
GameObject Pivot { get; set; }
```

Optional pivot point, origin will be used if not specified.
The pivot's rotation defines the hinge axis - the door rotates around the pivot's up axis.
Orient the pivot so its up axis points sideways to make a trapdoor.

Declared in [Sandbox.Mapping.Door](/api/Sandbox.Mapping.Door).
Assembly: `Sandbox.Engine`.
