# `GSGlyphViewControllerProtocol.activeLayer`

*Instance Property*

The active layer

## Declaration

```swift
var activeLayer: GSLayer? { get }
```

```objc
@property (nonatomic, readonly) GSLayer * activeLayer;
```

```python
activeLayer() -> GSLayer
```

## Discussion

If only one layer is selected it retunes it, otherwise it retunes nil.

In the editView, this is the layer that has a gray info box.

