Vector2:operator *(f)
Version added: before 9.5
Multiplies a vector by a number, returning the result as a new vector
Arguments:
| Name | Type | Description | Default | Ver |
| f | real | A number to multiply the vector by | < 9.5 |
Return value:
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.
Note that (e.g.) v2 = 3 * v is not a valid syntax and results in an error message
<< Back to Vector2
Note that (e.g.) v2 = 3 * v is not a valid syntax and results in an error message