Scratch for Java

Random::randomPosition()

Returns a random position with respect to the width of the window.

Syntax

Java

.randomPosition()

Return

Vector2

randomPosition()