# GetLevelVariable

Returns the variable for the level variable field.&#x20;

### Implementation

```csharp
public virtual VariableProperty GetLevelVariable();
```

### Returns

[VariableProperty (GlobalVariable)](https://docs.gamecreator.io/game-creator/systems/game-creator-api/variables-access#global-variables)
