# SetHumanoidBodyPartActive(AvatarMaskBodyPart, bool)

> Sets the humanoid body part at the given index to active or not.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.3/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public void SetHumanoidBodyPartActive(AvatarMaskBodyPart index, bool value)
```

### Parameters

**** (\[AvatarMaskBodyPart]\(/engine/6000.3/script-reference/unityengine/avatarmaskbodypart)): The index of the humanoid body part.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Active or not.
