Difference between revisions of "cursor.hide"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
== Example == | == Example == | ||
+ | |||
<syntaxhighlight>if (isPlaying == true) then | <syntaxhighlight>if (isPlaying == true) then | ||
cursor.hide() | cursor.hide() | ||
+ | else | ||
+ | cursor.show() | ||
end</syntaxhighlight> | end</syntaxhighlight> | ||
Revision as of 11:06, 11 June 2011
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 has been introduced in TI-Nspire OS 3.0 (Changes).
Syntax
cursor.hide()
No arguments.
Example
if (isPlaying == true) then
cursor.hide()
else
cursor.show()
end
See also