# Player.isActive

Returns true if the player is currently in the game.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
player:isActive(  )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Player.md#isactive)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `player` | [Player](../Game-Script-Environment/Userdata/Player.md) | The player. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | True if active. |
