---
title: isEnabled
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cifilter-swift.class/isenabled
---

# isEnabled

A Boolean value that determines whether the filter is enabled. Animatable.

## Declaration

```swift
var isEnabled: Bool { get set }
```

## Discussion

Discussion The filter is applied to its input when this property is set to true (the default). Use this property in conjunction with the name property when attaching filters to Core Animation layers and accessing or animating filter properties through key-value animations.  Core Animation can animate this property on a layer.

## See Also

### Getting filter parameters and attributes

- [name](coreimage/cifilter-swift.class/name.md)
- [attributes](coreimage/cifilter-swift.class/attributes.md)
- [inputKeys](coreimage/cifilter-swift.class/inputkeys.md)
- [outputKeys](coreimage/cifilter-swift.class/outputkeys.md)
- [outputImage](coreimage/cifilter-swift.class/outputimage.md)
