GoToXY

Syntax

Screen:GoToXY(x, y)

Description

Relocates the printing of texts to-be-printed.

Note

Be sure to use this function before trying to print any texts/message.

Example

function main() {
  Screen:Show()
 
  Screen:GoToXY(100,100)
 
  Screen:PrintString("Mabuhay!")  //print the message
 
  Screen:Render()  //display the message to the Screen dialog box
 
  Konsol:Delay(1000)  //pause for a second to read the message
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net