Arma 3 Scripting

Command in GUI Control - Positioning

ctrlAngle

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

Description

Gets rotation info of a control set as ST_PICTURE. Supported control types:

Syntax

ctrlAngle control

Parameters:

Returns: Array with [angle, centerX, centerY]

Examples

Example 1

ctrlAngle _control;

See also

ctrlSetAngle