Skip to main content

build.set_floor_color

Overview

  • Change floor (or ceiling) color. Works in both play mode (character must be inside a building) and build mode. Specify floor_level and/or room_index to narrow the target; omit both to apply to every room. target: floor (default) or ceiling.

Metadata

FieldValue
DisplaySet Floor Color
Categorybuild
AccessScriptCheat
ScopeB1Multicast
TagsExperimental
Aliases

Parameters

NameTypeRequiredDefaultDescription
colorstringyesColor value: hex (#0000FF) or name (blue)
floor_levelintnoFilter by floor level (default: all floors)
room_indexintnoRoom index within floor (from build.scan_floors). Omit for all rooms.
targetstringnofloorfloor (default) or ceiling

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('build.set_floor_color', {
color: '',
floor_level: 0, // optional
room_index: 0, // optional
target: 'floor', // optional
});