# Hero Unit::hero()

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

## Exact signature

```text
Hero Unit::hero()
```

## Description

Returns an eight-byte Hero handle containing the resolved Unit's linked Hero slot.

## Parameters and return type

**Return type:** `Hero`

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

This signature takes no additional arguments.

## Read and share

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

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