---
title: GeometryEffect
framework: swiftui
role: symbol
role_heading: Protocol
path: swiftui/geometryeffect
---

# GeometryEffect

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

## Declaration

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

## Overview

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:)](swiftui/geometryeffect/effectvalue(size:).md)
- [ignoredByLayout()](swiftui/geometryeffect/ignoredbylayout().md)

## Relationships

### Inherits From

- [Animatable](swiftui/animatable.md)
- [ViewModifier](swiftui/viewmodifier.md)

## See Also

### Synchronizing geometries

- [matchedGeometryEffect(id:in:properties:anchor:isSource:)](swiftui/view/matchedgeometryeffect(id:in:properties:anchor:issource:).md)
- [MatchedGeometryProperties](swiftui/matchedgeometryproperties.md)
- [Namespace](swiftui/namespace.md)
- [geometryGroup()](swiftui/view/geometrygroup().md)
