BBMOD_Vec2.Set
A function defined in BBMOD_Vec2.gml
Set([_x[, _y]])
Description
Sets vector components in-place.
Arguments
| Name | Type | Description |
|---|---|---|
| _x | Real |
The new value of the first component. Defaults to 0. |
| _y | Real |
The new value of the second component. Defaults to _x. |
Returns
Struct.BBMOD_Vec2 Returns self.