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_identityIdnoTarget entity ID (default: possessed)
garment_typestringyesGarment slot (top, bottom, full, shoes, jacket, hat, socks, stockings, gloves, scarf)
colorstringyesColor string: #RRGGBB / #RRGGBBAA or named (red, blue, white, ...)
parts_button_indexintnoColor zone index on the garment (default: 0; try 0/1/2 if the first zone does nothing)
skip_commitboolnoDebug: skip server commit to isolate local-vs-network issues (default: false)

Returns

  • Return shape is not declared for this command.

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
});