> For the complete documentation index, see [llms.txt](https://docs.sansar.com/latest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sansar.com/latest/script-api-docs/sansar-simulation-namespace/sit-object-data.md).

# Sit Object Data

### SitObjectData Class

Handler for agent sit events.

### Syntax

### Member Details

#### ComponentId Property

> ### Syntax
>
> **Value**
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

#### ObjectId Property

> The ObjectId of the object the agent is sitting on
>
> ### Syntax
>
> **Value**
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

#### SitObjectEvent Property

> The type of sit event which occurred.
>
> ### Syntax
>
> \[get: Sansar.Script.Interface]\
> public [SitEventType](https://help.sansar.com/hc/en-us/articles/360022662252) **SitObjectEvent** { get; }
>
> **Value**
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

#### SitObjectInfo Property

> information about the object the agent is sitting on
>
> ### Syntax
>
> \[get: Sansar.Script.Interface]\
> public [SitObjectInfo](https://help.sansar.com/hc/en-us/articles/360022875391) **SitObjectInfo** { get; }
>
> **Value**
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

#### ToString Method

> A string representation of this object.
>
> ### Syntax
>
> \[Sansar.Script.Interface]\
> public override [string](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String) **ToString** ()
>
> **Returns**
>
> > A string representation of this object.
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

### SitObjectInfo Struct

Information about if an agent is sitting on this SitObjectInfo.

### Syntax

\[Sansar.Script.Interface]\
public struct **SitObjectInfo**

### Member Details

#### ExitForward Field

> The local space forward direction of the exit point from this sit point.
>
> ### Syntax
>
> \[Sansar.Script.Interface]\
> public [Sansar.Vector](https://docs.sansar.com/latest/script-api-docs/sansar-namespace/vector.md) **ExitForward**
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

#### ExitPosition Field

> The local space exit point where an agent will be when they stand up from this sit point.
>
> ### Syntax
>
> \[Sansar.Script.Interface]\
> public [Sansar.Vector](https://docs.sansar.com/latest/script-api-docs/sansar-namespace/vector.md) **ExitPosition**
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

#### IsOccupied Field

> Is an agent sitting on this object
>
> ### Syntax
>
> \[Sansar.Script.Interface]\
> public [bool](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean) **IsOccupied**
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

#### LocalForward Field

> The local space forward direction for the object sit point.
>
> ### Syntax
>
> \[Sansar.Script.Interface]\
> public [Sansar.Vector](https://docs.sansar.com/latest/script-api-docs/sansar-namespace/vector.md) **LocalForward**
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

#### LocalPosition Field

> The local space point on the object where an agent would sit.
>
> ### Syntax
>
> \[Sansar.Script.Interface]\
> public [Sansar.Vector](https://docs.sansar.com/latest/script-api-docs/sansar-namespace/vector.md) **LocalPosition**
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

#### SessionId Field

> The SessionId of the agent that is sitting on the object.
>
> ### Syntax
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Simulation\
> **Assembly:** Sansar.Simulation (in Sansar.Simulation.dll)\
> **Assembly Versions:** 1.1.0.0
>
> ***

***
