How I check for mouse over

BlitzMax Forums/BlitzMax Beginners Area/How I check for mouse over

that code does the exact same thing as above as far as I can see

but in
a smarter way
.
The smartest way would probably be to use colliderect.