Arma 3 Scripting

Command in GUI Control - Positioning

ctrlSetPositionY

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

Description

Sets vertical position (y) of a 2D control. ctrlCommit is required to complete the operation.

Syntax

control ctrlSetPositionY y

Parameters:

Returns: Nothing

Examples

Example 1

_ctrl ctrlSetPositionY 0.5;
_ctrl ctrlCommit 1;

See also

ctrlSetPosition · ctrlSetPositionX · ctrlSetPositionW · ctrlSetPositionH