---
title: "Player Variable"
---

> 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.

# Player Variable

## Description

The current value of a player variable, which is a variable that belongs to a specific player or players.

## Snippet

```
Player Variable(Event Player, variableName);
```

## Properties

**Returns**: _<span style="color: #c678dd">Value</span>_
**Parameters**: ==_Player_==, ==_Variable_==

> ==**Player**==
> _Type: **[Player](/constants/player/)**, Default: **[Event Player](/values/event-player/)**_
> The player whose variable value to acquire.

> ==**Variable**==
> _Type: **Player Variable**, Default: **A**_
> The variable whose value to acquire.

Source: https://wiki.wrightkit.dev/values/player-variable/index.mdx
