Skip to main content

building.set_object_location

Overview

  • [Build Mode Only] [Object Selection] Sets the location of selected game object(s) relative to the parent site. Omitted axes keep their current value. Supports multi-selection.

Metadata

FieldValue
DisplaySet Object Location
Categorybuilding
AccessUserCheat
ScopeB1Multicast
Tags
AliasesSetObjectLocation

Parameters

NameTypeRequiredDefaultDescription
xfloatnoX position
yfloatnoY position
zfloatnoZ position
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_location', {
x: 0.0, // optional
y: 0.0, // optional
z: 0.0, // optional
entity_id: 0, // optional
entity_ids: '', // optional
});