Scratch for Java

Sprite::getMouseX()

Returns the current x-position of the mouse cursor

Syntax

Java

.getMouseX()

Return

double

getMouseX()