---
title: GCDeviceLight
framework: gamecontroller
role: symbol
role_heading: Class
path: gamecontroller/gcdevicelight
---

# GCDeviceLight

The colored light on a device.

## Declaration

```swift
class GCDeviceLight
```

## Topics

### Getting the light’s color

- [color](gamecontroller/gcdevicelight/color.md)
- [GCColor](gamecontroller/gccolor.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Game controller profiles

- [Input](gamecontroller/input.md)
- [GCMotion](gamecontroller/gcmotion.md)
- [GCDeviceBattery](gamecontroller/gcdevicebattery.md)
- [GCDeviceHaptics](gamecontroller/gcdevicehaptics.md)
