<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/GeometryEffect/ignoredByLayout()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14GeometryEffectPAAE15ignoredByLayoutAA08_IgnoredfgD0VyxGyF"
  },
  "title" : "ignoredByLayout()"
}
-->

# ignoredByLayout()

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

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

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)