ScratchData LogoScratchData
Back to grandpasp's profile

What is the mouse touching? (not mobile friendly)

GRgrandpasp•Created June 26, 2024
What is the mouse touching? (not mobile friendly)
5
3
38 views
View on Scratch

Instructions

Move the mouse pointer around and I'll tell what it's hovering over (including buttons outside the stage). Please leave feedback if the detectable locations are very far off on your device.

Description

Thanks to @CST1229 for the original off-stage mouse pointer detection code. As well at the objects this can detect, there are others that it doesn't try to detect because they move around depending on the individual device screen layouts. The reason that it's not practical to make this mobile-friendly is that on a touch-screen, you can't hover "over" a button (without clicking it).

Project Details

Project ID1042203744
CreatedJune 26, 2024
Last ModifiedJuly 1, 2024
SharedJune 26, 2024
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root