---
title: "Number of Heroes"
description: "Hero, Team"
---

> Documentation Index
> Fetch the complete documentation index at: https://wiki.wrightkit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Number of Heroes

## Description

The number of players playing a specific hero on a team or in the match.

## Snippet

```
Number of Heroes(Hero(Tracer), Team(Team 1));
```

## Properties

**Returns**: _<span style="color: #c678dd">Integer</span>_
**Parameters**: ==_Hero_==, ==_Team_==

> ==**Hero**==
> _Type: **Hero**, Default: **[Hero](/values/hero/)**_
> The hero to check for play.

> ==**Team**==
> _Type: **[Team](/constants/team/)**, Default: **Team**_
> The team or teams on which to check for the hero being played.

Source: https://wiki.wrightkit.dev/values/number-of-heroes/index.mdx
