# UserState

> User presence state.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.SocialPlatforms](/engine/6000.7/script-reference/unityengine/socialplatforms.md)
* **Assembly:** UnityEngine.GameCenterModule

> **Warning:**
>
> **Deprecated.** UserState is deprecated and will be removed in a future release.

```csharp
public enum UserState
```

## Fields

| Value                                                                                                   | Description                                      |
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [Offline](/engine/6000.7/script-reference/unityengine/socialplatforms/userstate/offline.md)             | The user is offline.                             |
| [Online](/engine/6000.7/script-reference/unityengine/socialplatforms/userstate/online.md)               | The user is online.                              |
| [OnlineAndAway](/engine/6000.7/script-reference/unityengine/socialplatforms/userstate/onlineandaway.md) | The user is online but away from their computer. |
| [OnlineAndBusy](/engine/6000.7/script-reference/unityengine/socialplatforms/userstate/onlineandbusy.md) | The user is online but set their status to busy. |
| [Playing](/engine/6000.7/script-reference/unityengine/socialplatforms/userstate/playing.md)             | The user is playing a game.                      |
