building.get_object_transform
Overview
- [Build Mode Only] [Object Selection] Returns the current location, rotation, and scale of selected game object(s). Supports multi-selection.
Metadata
| Field | Value |
|---|---|
| Display | Get Object Transform |
| Category | building |
| Access | Public |
| Scope | B1Standalone |
| Tags | — |
| Aliases | GetObjectTransform |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| entity_id | entityId | no | — | Target entity ID (optional, defaults to selected object) |
| entity_ids | string | no | — | Comma-separated entity IDs for batch operation (e.g. 123,456,789) |
Returns
- Freeform result (shape is not fixed).
[ { entity_id: int, location: {x,y,z}, rotation: {pitch,yaw,roll}, scale: {x,y,z} } ] — bare array; each element contains nested location/rotation/scale objects.
Usage
await inzoi.cli.execute('building.get_object_transform', {
entity_id: 0, // optional
entity_ids: '', // optional
});
Back to Command FinderSearch and filter all 318 CLI documents