Entity::getVelocity
Get the velocity of the Entity
Syntax
```js entity.getVelocity(); ```
Return value
- <font color='green'>Object Vector3</font>
Example
```js let vehicle = mp.players.local.vehicle
let velocity = vehicle.getVelocity(); // returns a object with x, y , z
vehicle.setVelocity(velocity.x, velocity.y, velocity.z) // setting the velocity which we got. ```