Arma 3 Scripting

ctrlSetPositionW

  • Arma 3 v1.92

Command · Markdown · JSON · original wiki page

Description

Sets the width of a 2D control. ctrlCommit is required to complete the operation.

Syntax

control ctrlSetPositionW w

Parameters:

Returns: Nothing

Examples

Example 1

_ctrl ctrlSetPositionW 0.5;
_ctrl ctrlCommit 1;

See also

ctrlSetPosition · ctrlSetPositionX · ctrlSetPositionY · ctrlSetPositionH