Skip to main content

appearance.set_garment_color

Overview

  • Change a garment's custom color (same path as Character Studio's color picker). garment_type: top, bottom, full, shoes, jacket, hat, socks, stockings, gloves, scarf. color: #RRGGBB / #RRGGBBAA or a named color (red, blue, white, ...). parts_button_index selects between multiple color zones on the same garment (default: 0).

Metadata

FieldValue
DisplaySet Garment Color
Categoryappearance
AccessScriptCheat
ScopeB1Multicast
TagsExperimental
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Target entity ID (default: possessed)
garment_typestringyes—Garment slot (top, bottom, full, shoes, jacket, hat, socks, stockings, gloves, scarf)
colorstringyes—Color string: #RRGGBB / #RRGGBBAA or named (red, blue, white, ...)
parts_button_indexintno—Color zone index on the garment (default: 0; try 0/1/2 if the first zone does nothing)
skip_commitboolno—Debug: skip server commit to isolate local-vs-network issues (default: false)

Usage

await inzoi.cli.execute('appearance.set_garment_color', {
entity_id: 0, // optional
garment_type: '',
color: '',
parts_button_index: 0, // optional
skip_commit: false, // optional
});