Control_SetPos

Prototype: GemRB.SetControlPos (WindowIndex, ControlIndex, X, Y)

Metaclass Prototype: SetPos (X, Y)

Description: Moves a Control.

Parameters:

  • WindowIndex, ControlIndex - the control’s reference
  • X,Y - the new position of the control relative to the window

Return value: N/A

See also: Control_SetSize, accessing_gui_controls


Back to function index, GUIScript introduction.