# void Unit::SetLevel(int)

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

## Exact signature

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

## Description

Scripting VM bridge clamping input level, looking up experience threshold, and calling virtual experience setter.

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

## Read and share

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

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