...go ahead and read the manual, we won't tell anyone.

Help Topics > All Functions > MouseH
Tags: mouse

The MouseH function returns the number of horizontal pixels from the left side of the tile to the current mouse position.

Usage:

the mouseH
mouseH()

Example:

if the mouseH > 319 put "Stop" into msg