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.

Examples

View on GitHub

Syntax

Java

.goToMousePointer()

Scratch

go to [mouse-pointer v]

Return

void

goToMousePointer()

Create Shareable URL

Select Sections