<!--
{
  "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/GCMouseMoved",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:@T@GCMouseMoved"
  },
  "title" : "GCMouseMoved"
}
-->

# GCMouseMoved

The signature for the block that the mouse input profile calls when the mouse moves.

```
typealias GCMouseMoved = (GCMouseInput, Float, Float) -> Void
```

## Parameters

`mouse`

The controller for the physical mouse.

`deltaX`

The raw amount that the mouse moves along the x-axis without affecting mouse sensitivity settings.

`deltaY`

The raw amount that the mouse moves along the y-axis without affecting mouse sensitivity settings.

## Discussion

---

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)