Center
Center

Changes the target point of the window

bSuccess = myWindow.Center( X, Y )

Return value
TRUE if successful, otherwise FALSE.

Parameters
  • X
    X coordinate to center on
  • Y
    Y coordinate to center on
Comments

Parallax backgrounds will be positioned as they would for the main window, and not relative to the object's initial target.

See also
Window:GetXCenter
Window:GetYCenter



JAM © 2005 no one in particular
Project started by David Evans in 2005