<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14GeometryEffectP"
  },
  "title" : "GeometryEffect"
}
-->

# GeometryEffect

An effect that changes the visual appearance of a view, largely without
changing its ancestors or descendants.

```
nonisolated protocol GeometryEffect : Animatable, ViewModifier where Self.Body == Never
```

## Overview

The only change the effect makes to the view’s ancestors and descendants is
to change the coordinate transform to and from them.

## Topics

### Applying effects

[`effectValue(size:)`](/documentation/SwiftUI/GeometryEffect/effectValue(size:))

Returns the current value of the effect.

[`ignoredByLayout()`](/documentation/SwiftUI/GeometryEffect/ignoredByLayout())

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



---

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)