Difference between revisions of "cursor.show"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(As I found out by myself, and as (https://education.ti.com/html/webhelp/EG_TINspireLUA/EN/content/libraries/cursorlib/show.htm) states, cursor.hide and cursor.show only work on handhelds)
Line 3: Line 3:
 
It shows the cursor (mouse pointer) on the screen.<br />
 
It shows the cursor (mouse pointer) on the screen.<br />
 
It is mostly used after a [[cursor.hide]].<br />
 
It is mostly used after a [[cursor.hide]].<br />
 +
 +
This function will be ignored if not executed on a handheld.<br />
  
 
{{Since|3.0}}
 
{{Since|3.0}}

Revision as of 14:08, 26 November 2018

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 function will be ignored if not executed on a handheld.

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