<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCController/isAttachedToDevice",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCController(py)attachedToDevice"
  },
  "title" : "isAttachedToDevice"
}
-->

# isAttachedToDevice

A Boolean value that indicates whether the controller closely integrates with the device.

```
var isAttachedToDevice: Bool { get }
```

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, the controller may be formfitting or otherwise closely attach to the device so that the player can interact simultaneously with the controller and the device. If <doc://com.apple.documentation/documentation/Swift/false>, the controller doesn’t have an attachment to the device.

---

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)