Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

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()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.