Sprite::getX() Examples Syntax Java Scratch Return Sprite::getX() Returns the x coordinate of the sprite Examples Fullscreen View on GitHub Syntax Java .getX() Scratch (x position) Return double getX() Create Shareable URL Standalone Mode Select Sections Sprite::getX() Examples Syntax Java Scratch Return Copy Shareable URL