> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetIsEnabled

> Returns whether the current process is currently permitted to drive lighting on a LampArray peripheral through the GDK Lighting API.

Gets the enabled state of an ILampArray for the current process.

## Syntax

```cpp theme={null}
bool GetIsEnabled(
)
```

### Parameters

This method has no parameters.

### Return value

Type: bool

The enabled state of the ILampArray: true if the device is enabled, otherwise false. By default, ILampArrays are enabled.

## Requirements

**Header:** LampArray.h

**Library:** xgameplatform.lib

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[Lighting API Overview](https://docs.xbox.com/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray::SetIsEnabled](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled.md)\
[ILampArray](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)


## Related topics

- [SetIsEnabled](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled.md)
- [ILampArray (Interface contents)](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [Get Title Enabled For Multiplayer Servers Status](https://docs.xbox.com/services/playfab/api-references/rest/multiplayer/multiplayer-server/get-title-enabled-for-multiplayer-servers-status.md)
- [XClosedCaptionSetEnabled](https://docs.xbox.com/reference/system/xaccessibility/functions/xclosedcaptionsetenabled.md)
- [enabled_for_title](https://docs.xbox.com/services/playfab/api-references/events/MultiplayerServers/enabled-for-title.md)
