---
title: UIMotionEffectGroup
framework: uikit
role: symbol
role_heading: Class
path: uikit/uimotioneffectgroup
---

# UIMotionEffectGroup

A collection of motion effects that you want to apply to a view at the same time.

## Declaration

```swift
@MainActor class UIMotionEffectGroup
```

## Overview

Overview This class behaves similarly to the CAAnimationGroup class in Core Animation. The key paths and values returned by each motion effect object are applied simultaneously and with the same timing. Because UIMotionEffectGroup is a subclass of UIMotionEffect, you can treat it like a single motion effect in your code. After setting a value for the motionEffects property, add the group object to one or more of your views.

## Topics

### Setting the group items

- [motionEffects](uikit/uimotioneffectgroup/motioneffects.md)

## Relationships

### Inherits From

- [UIMotionEffect](uikit/uimotioneffect.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### View-based effects

- [UIInterpolatingMotionEffect](uikit/uiinterpolatingmotioneffect.md)
