# ANIMSCENE::SET_ANIM_SCENE_ENTITY

- **Hash:** `0x8B720AD451CA2AB3`
- **Namespace:** ANIMSCENE
- **Runtime name (Lua/JS):** `SetAnimSceneEntity`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ANIMSCENE/SET_ANIM_SCENE_ENTITY

## Signature

```c
void SET_ANIM_SCENE_ENTITY(AnimScene animScene, const char* entityName, Entity entity, int flags);
```

## Parameters

- `animScene` (`AnimScene`)
- `entityName` (`const char*`)
- `entity` (`Entity`)
- `flags` (`int`)

## Returns

`void`

## Usage

### Lua

```lua
SetAnimSceneEntity(animScene, entityName, entity, flags)

-- always available, by hash
Citizen.InvokeNative(0x8B720AD451CA2AB3, animScene, entityName, entity, flags)
```

### JavaScript

```js
SetAnimSceneEntity(animScene, entityName, entity, flags);

// by hash
Citizen.invokeNative('0x8B720AD451CA2AB3', animScene, entityName, entity, flags);
```

### C#

```csharp
Function.Call((Hash)0x8B720AD451CA2AB3, animScene, entityName, entity, flags);
```

## See also

- [ANIMSCENE::REMOVE_ANIM_SCENE_ENTITY](https://natives.borderlinerp.com/natives/ANIMSCENE/REMOVE_ANIM_SCENE_ENTITY.md)

*Sources: alloc8or RDR3 NativeDB.*
