moveTo method

void moveTo(
  1. int x,
  2. int y
)

The moveTo() method of the Window interface moves the current window to the specified coordinates.

Note: This function moves the window to an absolute location. In contrast, window.moveBy moves the window relative to its current location.

Implementation

external void moveTo(
  int x,
  int y,
);