Stage::getMouseX() Examples Syntax Java Scratch Return Stage::getMouseX() Returns the current x-position of the mouse cursor Examples Fullscreen View on GitHub Syntax Java .getMouseX() Scratch (mouse x) Return double getMouseX() Create Shareable URL Standalone Mode Select Sections Stage::getMouseX() Examples Syntax Java Scratch Return Copy Shareable URL