Difference between revisions of "cursor.show"

From Inspired-Lua Wiki
Jump to navigation Jump to search
Line 11: Line 11:
  
 
== Example  ==
 
== Example  ==
<syntaxhighlight>if (isPlaying == true) then  
+
<syntaxhighlight>if (isPlaying) then  
 
   cursor.hide()
 
   cursor.hide()
 
else
 
else

Revision as of 13:46, 11 January 2012

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

It shows the cursor (mouse pointer) on the screen.
It is mostly used after a cursor.hide.

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


Syntax

cursor.show()
No arguments.

Example

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

See also