Skip to content
Grisgram edited this page Oct 3, 2025 · 2 revisions

Description

The #color command simply resolves a GameMaker color constant at runtime.

Syntax

member: { "key": "#color:<name>" }
key: no implementation

Param(s)

name: Case sensitiv name of the color consant you want to reference.

Example

Before Apply

{ // <-- root
    // in the above line the `#color` command is going to reference the color 'c_red'
    "ref_color_red": "#color:c_red"
}

After Apply

{
    "ref_color_red": _runtime color value_
}

Author’s Recommendation: next read #rgb

Clone this wiki locally