# SleepTimeout

> Constants for special values of Screen.sleepTimeout.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public sealed class SleepTimeout
```

## Remarks

Use them to specify something other than a fixed amount of seconds before dimming the screen.

## Static Fields

| Value                                                                                      | Description                                                                      |
| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------- |
| [NeverSleep](/engine/6000.6/script-reference/unityengine/sleeptimeout/neversleep.md)       | Prevent screen dimming.                                                          |
| [SystemSetting](/engine/6000.6/script-reference/unityengine/sleeptimeout/systemsetting.md) | Set the sleep timeout to whatever the user has specified in the system settings. |
