Scratch for Java

Random::randomY()

Return a random y coordinate with respect to the width of the window.

Syntax

Java

.randomY()

Return

double

randomY()