Reference Manual - Table of Contents

Execution Control
Forms and Windows
Controls
Menus
System and Desktop
Graphic Drawing Commands

Animation
QuickTime Movies
Speech
Sound
File I/O
Printing
Serial Ports

Math Functions
String Functions
Date and Time
Memory Buffers
Error Handling
Console Text Window

Events

Direct Memory Access
Direct Mouse Access
Direct Keyboard Access
Code Resource Modules

A - Runtime Error Messages
B - Compiler Error Messages

Direct Mouse Access

Function Summary:
var = MouseX( )
var = MouseY( )
var = MouseDown( )
var = EventMouseX( )
var = EventMouseY( )

 

var = MouseX( )

This function returns a numeric value that represents the current horizontal X position in pixels.

 

var = MouseY( )

This function returns a numeric value that represents the current vertical Y position in pixels.

 

var = MouseDown( )

This function returns a numeric value that represents whether the mouse button is currently being pressed. It returns a value of 1 if the mouse button is being pressed down or a 0 if it is not.

 

var = EventMouseX( )

This function returns a numeric value that represents the horizontal X position in pixels of the mouse during the last mouse event.

 

var = EventMouseY( )

This function returns a numeric value that represents the vertical Y position in pixels of the mouse during the last mouse event.