> For the complete documentation index, see [llms.txt](https://hh-specs.handhistory.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hh-specs.handhistory.org/json-object/hero_player_id.md).

# hero\_player\_id

#### hero\_player\_id

The Id of the player (from the list of players in the player list) that is the hero.

**Type:** integer

**Nullable:** true

{% hint style="info" %}
If this is an observed hand then hero\_player\_id can either be omitted or set to null.
{% endhint %}

**Example:**

```javascript
"hero_player_id": 2
```

No hero player in the hand.

```javascript
"hero_player_id": null
```
