Scratch for Java

Sprite::isTouchingMousePointer()

Returns true is the mouse pointer is touching the hitbox of the sprite.

Syntax

Java

.isTouchingMousePointer()

Return

boolean

isTouchingMousePointer()