<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ARView/installGestures(_:for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:10RealityKit6ARViewC15installGestures_3forSayAA23EntityGestureRecognizer_pGAC0gE0V_0A10Foundation12HasCollision_ptF"
  },
  "title" : "installGestures(_:for:)"
}
-->

# installGestures(_:for:)

Installs standard gestures onto the given entity, configured to be
recognized simultaneously.

```
@discardableResult @MainActor @preconcurrency func installGestures(_ gestures: ARView.EntityGestures = .all, for entity: any HasCollision) -> [any EntityGestureRecognizer]
```

## Parameters

`gestures`

The gesture types to install.

`entity`

The entity with which to associate the gesture recognizers.

## Return Value

The set of gesture recognizers created to handle the
requested gestures.

---

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)