cursor()
Purpose
Set the current text cursor position
Description
Set the current cursor position which will be used by the next print function call
Syntax
cursor( x, y )
Arguments
x The horizontal cursor position to start printing.
y The vertical cursor position to start printing.
Example
hideKeyboard()
ink( red )
textsize( 50 )
message = "Hello World"
cursor( ( tWidth() - len( message ) ) / 2, tHeight() / 2 )
print( message )
update()
sleep( 3 )
Associated Commands
drawText(), ink(), len(), print(), printAt(), stringHash(), textSize(), tHeight(), tWidth()