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

# ILampArray::GetIsEnabled method

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

# ILampArray::GetIsEnabled

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](/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray::SetIsEnabled](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled)\
[ILampArray](/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [ILampArray::SetIsEnabled method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled.md)
- [ILampArray::SetColor method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolor.md)
- [ILampArray::SetColorsForIndices method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforindices.md)
- [ILampArray::GetLampArrayKind method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlamparraykind.md)
- [ILampArray::SetColorsForScanCodes method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforscancodes.md)
