# void Unit::SetWalkAnim(int)

[Family: Unit](/imperivm/en/CKS/familias/unit/)

## Exact signature

```text
void Unit::SetWalkAnim(int)
```

## Description

Unit[field] is the current zero-based animation index; the no-argument SetWalkAnim selects index zero and the int overload stores argument minus one.

## Usage notes

⚠ Only partly documented so far.

## Parameters and return type

**Return type:** `void`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

| Position | Type |
| --- | --- |
| 1 | `int` |

## Other overloads

Check the exact signature. A description of one overload does not automatically document the others.

- [`void Unit::SetWalkAnim()`](/imperivm/en/CKS/reference/api-b7232d71e4e9b9/)

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-b076ef8f7a6ed0.md)
- [JSON](/imperivm/CKS/api/entries/api-b076ef8f7a6ed0?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
