Scratch for Java

Sprite::getMouseX()

Returns the current x-position of the mouse cursor

Examples

View on GitHub

Syntax

Java

.getMouseX()

Scratch

(mouse x)

Return

double

getMouseX()

Create Shareable URL

Select Sections