Scratch for Java

Vector2::getX()

Returns the x coordinate of the vector

Syntax

Java

.getX()

Return

double

getX()