<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCVirtualController/Configuration/isHidden",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCVirtualControllerConfiguration(py)hidden"
  },
  "title" : "isHidden"
}
-->

# isHidden

A Boolean value that indicates whether the system or the app presents the virtual interface.

```
var isHidden: Bool { get set }
```

## Discussion

To present your own virtual controller interface, set this property to <doc://com.apple.documentation/documentation/Swift/true>. Then when the state of controls in your interface changes, use the [`GCVirtualController`](/documentation/GameController/GCVirtualController) [`setValue(_:forButtonElement:)`](/documentation/GameController/GCVirtualController/setValue(_:forButtonElement:)) and [`setPosition(_:forDirectionPadElement:)`](/documentation/GameController/GCVirtualController/setPosition(_:forDirectionPadElement:)) methods to update the corresponding elements.

The default value is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)