# CFX::GET_ENTITY_VELOCITY

- **Hash:** `0xC14C9B6B`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `GetEntityVelocity`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** named only
- **URL:** https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_VELOCITY

## Signature

```c
Vector3 GET_ENTITY_VELOCITY(Entity entity);
```

## Parameters

- `entity` (`Entity`)

## Returns

`Vector3`

## Usage

### Lua

```lua
local retval = GetEntityVelocity(entity)

-- always available, by hash
local retval = Citizen.InvokeNative(0xc14c9b6b, entity, Citizen.ResultAsVector())
```

### JavaScript

```js
const retval = GetEntityVelocity(entity);

// by hash
const retval = Citizen.invokeNative('0xc14c9b6b', entity, Citizen.returnResultAnyway(), Citizen.resultAsVector());
```

### C#

```csharp
Vector3 retval = Function.Call<Vector3>((Hash)0xc14c9b6b, entity);
```

## See also

- [CFX::SET_ENTITY_VELOCITY](https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_VELOCITY.md) — Note that the third parameter(denoted as z) is "up and down" with positive numbers encouraging upwards movement.

*Sources: Cfx.re native reference.*
