Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » mouseH and mouseV

Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.

mouseH and mouseV

the mouseH
the mouseV

Values returned:

mouseH returns an integer equal to the number of pixels from the left of the card to the current location of the mouse pointer.

mouseV returns an integer equal to the number of pixels from the top of the card to the current location of the mouse pointer.

Examples

if the mouseH < the left of card window then ...
if the mouseV > the top of card field 1 then ...

Related Topics

HyperTalk Reference

Version 0.8b4 (July 4, 2025)

Made with Macintosh

Switch to Retro View