DlgBillboard.GetPos

table DlgBillboard.GetPos ( 

number ControlID )

Description

Returns the X and Y screen coordinates of a billboard control in pixels. This coordinate refers to the upper left hand corner of the control's bounding box relative to the screen.

Note: The upper left hand corner of a screen has X and Y coordinates of 0.

Parameters

ControlID

(number) The numeric ID of the billboard control.

Returns

(table) A table containing the control's current coordinates, indexed by values "X" and "Y". If the control cannot be found, nil will be returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions