Skip to main content

building.set_object_transform

Overview

  • [Build Mode Only] [Object Selection] Sets location, rotation, and/or scale of selected game object(s) relative to the parent site in one call. All parameters are optional; omitted values keep their current state. Supports multi-selection.

Metadata

FieldValue
DisplaySet Object Transform
Categorybuilding
AccessUserCheat
ScopeB1Multicast
Tags
AliasesSetObjectTransform

Parameters

NameTypeRequiredDefaultDescription
loc_xfloatnoX position
loc_yfloatnoY position
loc_zfloatnoZ position
pitchfloatnoPitch (degrees)
yawfloatnoYaw (degrees)
rollfloatnoRoll (degrees)
scalefloatnoUniform scale
scale_xfloatnoX-axis scale
scale_yfloatnoY-axis scale
scale_zfloatnoZ-axis scale
entity_identityIdnoTarget entity ID (optional, defaults to selected object)
entity_idsstringnoComma-separated entity IDs for batch operation (e.g. 123,456,789)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('building.set_object_transform', {
loc_x: 0.0, // optional
loc_y: 0.0, // optional
loc_z: 0.0, // optional
pitch: 0.0, // optional
yaw: 0.0, // optional
roll: 0.0, // optional
scale: 0.0, // optional
scale_x: 0.0, // optional
scale_y: 0.0, // optional
scale_z: 0.0, // optional
entity_id: 0, // optional
entity_ids: '', // optional
});