| Line 1: |
Line 1: |
| − | '''functionName''' is a function that is part of the [[:Category:cursor|cursor functions]]. | + | cursor.'''hide'''() is a function that is part of the [[:Category:cursor|cursor functions]]. |
| | | | |
| − | It hides the cursor (mouse pointer) on the screen. | + | It hides the cursor (mouse pointer) on the screen.<br /> |
| − | NB : Even with TouchPad devices, the user can't have it shown again, until [[cursor.show]]() is called. | + | NB : Even with TouchPad devices, the user can't have it shown again, until [[cursor.show]]() is called.<br /> |
| | + | |
| | + | This function will be ignored if not executed on a handheld operator.<br /> |
| | | | |
| | {{Since|3.0}} | | {{Since|3.0}} |
| | | | |
| | == Syntax == | | == Syntax == |
| − | cursor.'''hide'''() | + | cursor.'''hide'''()<br /> |
| | No arguments. | | No arguments. |
| | | | |
| | == Example == | | == Example == |
| − | <syntaxhighlight>if (isPlaying == true) then | + | |
| | + | <syntaxhighlight>if (isPlaying) then |
| | cursor.hide() | | cursor.hide() |
| | + | else |
| | + | cursor.show() |
| | end</syntaxhighlight> | | end</syntaxhighlight> |
| | | | |