cursor.hide

From Inspired-Lua Wiki
Jump to: navigation, search

cursor.hide() is a function that is part of the cursor functions.

It hides the cursor (mouse pointer) on the screen.
NB : Even with TouchPad devices, the user can't have it shown again, until cursor.show() is called.

This function will be ignored if not executed on a handheld operator.

This has been introduced in TI-Nspire OS 3.0 (Changes).


Syntax[edit]

cursor.hide()
No arguments.

Example[edit]

if (isPlaying) then 
   cursor.hide()
else
   cursor.show()
end

See also[edit]