## Description
Set the vector's magnitude. Setting this to a non-negative number will adjust the vector's magnitude to that value. Negative values will result in an error.
## Signatures
```python
set_mag(
mag: float, # vector magnitude
) -> Py5Vector
```
Updated on March 06, 2023 02:49:26am UTC