spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Mouse functions and properties

GetModeGraphic

static int Mouse.GetModeGraphic(CursorMode)
Returns the sprite slot number of the specified mouse cursor mode.

This could be useful if you want to change it manually with ChangeModeGraphic but be able to remember what it was before.

Example:

Display("The current mouse cursor sprite is %d.", mouse.GetModeGraphic(mouse.Mode));
will display the sprite slot number of the current mouse cursor.

See Also: Mouse.ChangeModeGraphic


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.