# Hero selh()

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
Hero selh()
```

## Description

Selects a candidate with a particular flag and returns its encoded hero reference.

## Parameters and return type

**Return type:** `Hero`

This signature takes no additional arguments.

## Read and share

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

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