<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCDeviceCursor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCDeviceCursor"
  },
  "title" : "GCDeviceCursor"
}
-->

# GCDeviceCursor

A control element for the cursor used as a directional pad.

```
class GCDeviceCursor
```

## Overview

This controller element allows you to use the cursor as a directional pad with the values of the [`xAxis`](/documentation/GameController/GCControllerDirectionPad/xAxis) and [`yAxis`](/documentation/GameController/GCControllerDirectionPad/yAxis) elements scaled to the width and height of the screen, not ranging from `-1` to `1`.

---

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)