Scratch for Java

Sprite::goToMousePointer()

Moves the sprite to the current position of the mouse pointer. This method updates the sprite's position to the coordinates of the mouse cursor.

Syntax

Java

.goToMousePointer()

Return

void

goToMousePointer()