Skip to main content

building.set_object_rotation

Overview

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

Metadata

FieldValue
DisplaySet Object Rotation
Categorybuilding
AccessUserCheat
ScopeB1Multicast
Tags—
AliasesSetObjectRotation

Parameters

NameTypeRequiredDefaultDescription
pitchfloatno—Pitch (degrees)
yawfloatno—Yaw (degrees)
rollfloatno—Roll (degrees)
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_rotation', {
pitch: 0.0, // optional
yaw: 0.0, // optional
roll: 0.0, // optional
entity_id: 0, // optional
entity_ids: '', // optional
});