Show.mouse

From AGI Wiki
Revision as of 22:03, 21 April 2019 by Andrew Korson (talk | contribs) (Created page with "The '''show.mouse''' command restores the mouse cursor to the screen. == Syntax == show.mouse(); == Remarks == In the PC version of AGI, this command points to a null func...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The show.mouse command restores the mouse cursor to the screen.

Syntax

show.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 restore the mouse cursor to the screen, if it was previously hidden with the hide.mouse command.

Weirdly, 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

None.

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.098 and above.
Byte-Code Value: 178 (0xB2 hex)

See Also

Player Input Commands