Arma 3 Scripting

Command in GUI Control

ctrlSetBackgroundColor

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

Description

Sets background color of given control. Only affects:

Syntax

control ctrlSetBackgroundColor color

Parameters:

Returns: Nothing

Examples

Example 1

_control ctrlSetBackgroundColor [1, 0, 0, 1];

See also

allControls · allDisplays · controlsGroupCtrl · ctrlDelete · ctrlModel · ctrlSetModel · ctrlPosition · ctrlSetPosition · ctrlClassName · ctrlModelScale · ctrlSetModelScale · ctrlModelDirAndUp · ctrlSetModelDirAndUp · displayParent