Arma 3 Scripting

Command in GUI Control

ctrlSetProperty

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets one or multiple given properties of given control.

Syntax

Syntax 1

control ctrlSetProperty property

Parameters:

Returns: Nothing

Syntax 2

control ctrlSetProperty properties

Parameters:

Examples

Example 1

_ctrl ctrlSetProperty ["x", 0.015];

Example 2

_ctrl ctrlSetProperty #{
    "x": 0.015, 
    "colorBackground": [1, 0.4, 1, 1]
}

See also

ctrlGetProperty