ConsoleLocate()
Syntax
ConsoleLocate(x, y)Description
Moves the cursor to the given position, in character co-ordinates. Any text you print after calling this function will start from the specified co-ordinates.
The console has to be in graphical mode, see EnableGraphicalConsole().
Parameters:
x - The horizontal position in the console to move to (starting from 0)
y - The vertical position in the console to move to (starting from 0)
Example:If OpenConsole() EnableGraphicalConsole(1) For i = 0 To 200 ConsoleLocate(Random(79), Random(24)) Print("*") Next ConsoleLocate(30, 10) PrintN("Press return to exit") Input() EndIf
Supported OS
Windows