Scratch for Java

Sprite::isTouchingMousePointer()

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

Syntax

Java

.isTouchingMousePointer()

Scratch

<touching [mouse-pointer v]?>

Return

boolean

isTouchingMousePointer()

Create Shareable URL

Select Sections