---
title: ForceEffectEvent
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/forceeffectevent
---

# ForceEffectEvent

A struct that defines the arguments to the custom force effect update closure.

## Declaration

```swift
struct ForceEffectEvent<ForceEffectType> where ForceEffectType : ForceEffectProtocol
```

## Overview

Overview If you register your custom force effect using a closure, you can access the force effect’s property and ForceEffectParameters from this struct.

## Topics

### Instance Properties

- [effect](realitykit/forceeffectevent/effect.md)
- [parameters](realitykit/forceeffectevent/parameters.md)

## See Also

### Updating effects

- [update(parameters:)](realitykit/forceeffectprotocol/update(parameters:).md)
- [register(_:)](realitykit/forceeffectprotocol/register(_:)-1zt9t.md)
- [PhysicsBodyParameterTypes](realitykit/physicsbodyparametertypes.md)
- [ForceEffectParameters](realitykit/forceeffectparameters.md)
- [UnsafeForceEffectBuffer](realitykit/unsafeforceeffectbuffer.md)
