Declaration

var activeLayer: GSLayer? { get }

Declaration

@property (nonatomic, readonly) GSLayer * activeLayer;

Declaration

activeLayer() -> GSLayer

Return Value

The active layer.

Discussion

This is only valid if one layer has direct focus. If more than one are selected, this returns nil.