# ENTITY::STOP_ENTITY_ANIM

- **Hash:** `0x786591D986DE9159`
- **Namespace:** ENTITY
- **Runtime name (Lua/JS):** `StopEntityAnim`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ENTITY/STOP_ENTITY_ANIM

## Signature

```c
BOOL STOP_ENTITY_ANIM(Entity entity, const char* animation, const char* animGroup, float p3);
```

## Parameters

- `entity` (`Entity`)
- `animation` (`const char*`)
- `animGroup` (`const char*`)
- `p3` (`float`)

## Returns

`BOOL`

## Description

Doesn't actually return anything.

## Usage

### Lua

```lua
local retval = StopEntityAnim(entity, animation, animGroup, p3)

-- always available, by hash
local retval = Citizen.InvokeNative(0x786591D986DE9159, entity, animation, animGroup, p3, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = StopEntityAnim(entity, animation, animGroup, p3);

// by hash
const retval = Citizen.invokeNative('0x786591D986DE9159', entity, animation, animGroup, p3 + 0.0000001, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x786591D986DE9159, entity, animation, animGroup, p3);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.

## See also

- [ENTITY::PLAY_ENTITY_ANIM](https://natives.borderlinerp.com/natives/ENTITY/PLAY_ENTITY_ANIM.md)

*Sources: alloc8or RDR3 NativeDB.*
