ctrlSetPositionX

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version1.92
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.92

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

Multiplayer:
-
See also:
ctrlSetPosition ctrlSetPositionY ctrlSetPositionW ctrlSetPositionH

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Bottom Section