Skip to content

Get Sansar

Script API

HeldObjectInfo

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Struct Namespace Sansar.Simulation

Information about if this HeldObjectInfo is being held by an agent.

public struct HeldObjectInfo

Members at a glance

KindMembers
FieldsControlPoint · IsHeld · LocalPosition · SessionId

Fields

ControlPoint

public ControlPointType ControlPoint

The HeldObjectInfo.ControlPoint that was used to grab the object.

IsHeld

public bool IsHeld

Is the object being held by an agent

LocalPosition

public Sansar.Vector LocalPosition

The local space point on the object that is held.

SessionId

public Sansar.Script.SessionId SessionId

The SessionId of the agent that is holding the object.

Used in examples

Generated from the Sansar 47.10.0 client ScriptApi snapshot.