LM_Vector2:operator*(f)

Version added: before 9.5

Multiplies a vector by a number, returning the result as a new vector

ArgumentTypeDescriptionDefaultVersion added
frealA number to multiply the vector bybefore 9.5

Return type (LM_Vector2): the original vector, multiplied by the number "num"

Multiplies a vector by a number, returning the result as a new vector. Example: v2 = v * 3.