Sprite::distanceToMousePointer() Examples Syntax Java Scratch Return Sprite::distanceToMousePointer() Calculates the distance from the current sprite to the mouse pointer. Examples Fullscreen View on GitHub Syntax Java .distanceToMousePointer() Scratch (distance to [mouse-pointer v]) Return double distanceToMousePointer() Create Shareable URL Standalone Mode Select Sections Sprite::distanceToMousePointer() Examples Syntax Java Scratch Return Copy Shareable URL