<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ImpulseAction/init(targetEntity:linearImpulse:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation13ImpulseActionV12targetEntity06linearC0AcA0dF10ResolutionO_s5SIMD3VySfGtcfc"
  },
  "title" : "init(targetEntity:linearImpulse:)"
}
-->

# init(targetEntity:linearImpulse:)

Creates a new impulse action.

```
init(targetEntity: ActionEntityResolution = .sourceEntity, linearImpulse: SIMD3<Float> = [0, 1, 0])
```

## Parameters

`targetEntity`

The entity that the impulse acts upon.

`linearImpulse`

The impulse in newton seconds (in physics simulation space).

---

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)