# void Unit::SetWalkAnim()

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

## Exact signature

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

## 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.

## Parameters and return type

**Return type:** `void`

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

This signature takes no additional arguments.

## Other overloads

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

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

## Read and share

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

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