Random::randomY() Examples Syntax Java Return Random::randomY() Return a random y coordinate with respect to the width of the window. Examples Fullscreen View on GitHub Syntax Java .randomY() Return double randomY() Create Shareable URL Standalone Mode Select Sections Random::randomY() Examples Syntax Java Return Copy Shareable URL