---
title: ignoredByLayout()
framework: swiftui
role: symbol
role_heading: Instance Method
path: swiftui/geometryeffect/ignoredbylayout()
---

# ignoredByLayout()

Returns an effect that produces the same geometry transform as this effect, but only applies the transform while rendering its view.

## Declaration

```swift
nonisolated func ignoredByLayout() -> _IgnoredByLayoutEffect<Self>
```

## Discussion

Discussion Use this method to disable layout changes during transitions. The view ignores the transform returned by this method while the view is performing its layout calculations.

## See Also

### Applying effects

- [effectValue(size:)](swiftui/geometryeffect/effectvalue(size:).md)
