Hide.mouse

From AGI Wiki
Revision as of 19:12, 8 April 2019 by Andrew Korson (talk | contribs) (Created page with "The '''hide.mouse''' command hides the mouse cursor. == Syntax == hide.mouse(); == Remarks == In the PC version of AGI, this command points to a null function, and does no...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The hide.mouse command hides the mouse cursor.

Syntax

hide.mouse();

Remarks

In the PC version of AGI, this command points to a null function, and does nothing.

For non-PC versions, this command is believed to hide the mouse cursor, although this has not been thoroughly tested. Use the show.mouse command to restore the mouse cursor after hiding it with this command.

The hide.mouse command was available beginning in version 3.002.086, but show.mouse was not added until version 3.002.098. Why Sierra chose to do this is unknown.

Possible Errors

Unknown.

Example

Code:

<syntaxhighlight lang="agi"> hide.mouse(); [ no mouse! ... show.mouse(); [ it's back! </syntaxhighlight>

Technical Information

Required Interpreter Version: Available in version 3.002.086 and above.
Byte-Code Value: 176 (0xB0 hex)

See Also

Player Input Commands