ctrlSetPositionX

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.921.92
Hover & click on the images for descriptions

Description

Description:
Sets wanted X position for 2D control. ctrlCommit is required to complete the operation.

Syntax

Syntax:
controlName ctrlSetPositionX x
Parameters:
controlName: Control - 2D control
x: Number
Return Value:
Nothing

Examples

Example 1:
_ctrl ctrlSetPositionX 0.5; _ctrl ctrlCommit 1;

Additional Information

See also:
ctrlSetPosition ctrlSetPositionY ctrlSetPositionW ctrlSetPositionH
Groups:
GUI Control

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Bottom Section