Scratch for Java

Sprite::distanceToMousePointer()

Calculates the distance from the current sprite to the mouse pointer.

Syntax

Java

.distanceToMousePointer()

Return

double

distanceToMousePointer()