# void Hero::FormSetupAndMoveTo(Obj, int, int, bool)

[Family: Hero](/imperivm/en/CKS/familias/hero/)

## Exact signature

```text
void Hero::FormSetupAndMoveTo(Obj, int, int, bool)
```

## Description

After holder-related waits, clears the hero path controller and selects an object destination change or a point destination derived from the object, depending on an object flag. On success, installs a new controller and sets hero state 3.

## 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 | `Obj` |
| 2 | `int` |
| 3 | `int` |
| 4 | `bool` |

## Other overloads

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

- [`void Hero::FormSetupAndMoveTo(point, int, int, bool)`](/imperivm/en/CKS/reference/api-a40e09878a579c/)

## Read and share

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

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