Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 2

MoveTo(X, Y)

Moves to the specified X, Y position from the current X, Y position without plotting any points.

Parameters

X - Horizontal position to move to
Y - Vertical position to move to

Examples

BASIC

CALL MoveTo(0, 0)

PASCAL

MoveTo(0, 0);

BGI equivalent

void moveto(int x, int y);