# void Unit::SetEntering(bool)

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

## Exact signature

```text
void Unit::SetEntering(bool)
```

## Description

Sets or clears bit 20 of a resolved Unit's state flags.

## 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 | `bool` |

## Read and share

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

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