# Enum.AppLifecycleManagerState

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/AppLifecycleManagerState/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/AppLifecycleManagerState

Describes the current lifecycle state of the Roblox application as reported by [`AppLifecycleObserverService:GetCurrentState()`](https://rapi.sleaze.dev/classes/AppLifecycleObserverService.md).

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Detached` | 0 | The application has not yet started or is shutting down. This is the initial state before the lifecycle manager is created and the final state entered during application termination. |
| `Active` | 1 | The application is in the foreground and has input focus. This is the normal running state where the user is actively interacting with the experience. |
| `Inactive` | 2 | The application is visible but does not have input focus. On iOS this occurs during transitions such as incoming calls or notification center pull-down; on macOS it corresponds to the application resigning active status. |
| `Hidden` | 3 | The application is fully in the background and not visible to the user. On mobile platforms this corresponds to the app being backgrounded; on desktop it corresponds to the window being minimized or fully occluded. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [AppLifecycleObserverService](https://rapi.sleaze.dev/classes/AppLifecycleObserverService.md): method return `GetCurrentState`
