Vector2.divideScalar()

Divide the vector with the scalar number given as parameter

Parameters

NameTypeDescription
1scalarnumber

Return value

Vector2

The vector with its new values

Usage