Skip to main content

building.set_object_scale

Overview

  • [Build Mode Only] [Object Selection] Sets the scale of selected game object(s). Use 'scale' for uniform scaling, or 'x','y','z' for per-axis. Supports multi-selection.

Metadata

FieldValue
DisplaySet Object Scale
Categorybuilding
AccessUserCheat
ScopeB1Multicast
Tags—
AliasesSetObjectScale

Parameters

NameTypeRequiredDefaultDescription
scalefloatno—Uniform scale (used for all axes unless x/y/z specified)
xfloatno—X-axis scale
yfloatno—Y-axis scale
zfloatno—Z-axis scale
entity_identityIdno—Target entity ID (optional, defaults to selected object)
entity_idsstringno—Comma-separated entity IDs for batch operation (e.g. 123,456,789)

Usage

await inzoi.cli.execute('building.set_object_scale', {
scale: 0.0, // optional
x: 0.0, // optional
y: 0.0, // optional
z: 0.0, // optional
entity_id: 0, // optional
entity_ids: '', // optional
});