Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Functions

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

mouse

the mouse
Value returned: one of the constants up or down indicating whether the mouse button is up or down

Note: Use the mouse to return the current state of the mouse button and the mouseClick to return whether the mouse has been clicked in the current handler.


Demo Script

on theMouse
   show bkgnd field "demo field"
   displayMessage "Click the mouse to continue . . ."
   wait until the mouse is down
   hide bkgnd field "demo field"
 end theMouse

Related Topics

« min | HyperTalk Reference | mouseClick »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Functions

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

mouse

the mouse
Value returned: one of the constants up or down indicating whether the mouse button is up or down

Note: Use the mouse to return the current state of the mouse button and the mouseClick to return whether the mouse has been clicked in the current handler.


Demo Script

on theMouse
   show bkgnd field "demo field"
   displayMessage "Click the mouse to continue . . ."
   wait until the mouse is down
   hide bkgnd field "demo field"
 end theMouse

Related Topics

« min | HyperTalk Reference | mouseClick »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View