Skip to main content

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

FieldValue
DisplayGet Object Transform
Categorybuilding
AccessPublic
ScopeB1Standalone
Tags
AliasesGetObjectTransform

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (optional, defaults to selected object)
entity_idsstringnoComma-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
});