<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/TabletopInteraction/DeadZone/within(distance:angle:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit0A11InteractionC8DeadZoneO6withinyAESd_So7SPAngleatcAEmF"
  },
  "title" : "TabletopInteraction.DeadZone.within(distance:angle:)"
}
-->

# TabletopInteraction.DeadZone.within(distance:angle:)

Allows to customize the dead zone values. The object will start moving when the first of these
two thresholds is reached.

```
case within(distance: Double, angle: Angle2D)
```

## Parameters

`distance`

the minimum amount of distance that the input device should move from its initial position.

`angle`

the minimum angle that the device should rotate from its initial orientation.

---

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)