Scratch for Java

Stage::getMouse()

Returns the current position of the mouse cursor as a Vector2

Examples

View on GitHub

Syntax

Java

.getMouse()

Return

Vector2

getMouse()

Create Shareable URL

Select Sections