---
title: AnimatableIgnored()
framework: swiftui
role: symbol
role_heading: Macro
path: swiftui/animatableignored()
---

# AnimatableIgnored()

An accessor macro that marks a property of a type to be excluded from the animatableData synthesis:

## Declaration

```swift
@attached(accessor, names: named(willSet)) macro AnimatableIgnored()
```

## Overview

Overview @Animatable struct CoolShape: Shape {     var width: CGFloat     var height: CGFloat     @AnimatableIgnored var isVisible: Bool

// ... } In the above example, the isVisible property of CoolShape will not be participating in the synthesis of animatableData.

## See Also

### Animating data

- [Animatable()](swiftui/animatable().md)
- [animatableData](swiftui/animatable/animatabledata-6nydg.md)
- [AnimatableData](swiftui/animatable/animatabledata-swift.associatedtype.md)
