# Character.setMovementWeights

Sets the weights for movement animations on a character's upper and lower body.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
character:setMovementWeights( lower, upper )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Character.md#setmovementweights)

**Availability:** Client only

For a value of 0 no movement animations will play, and for a value of 1 the movement animations will fully play unless otherwise overridden.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `character` | [Character](../Game-Script-Environment/Userdata/Character.md) | The character. |
| `lower` | number | The lower weight. |
| `upper` | number | The upper weight. |
