<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "InputMethodKit",
  "identifier" : "/documentation/InputMethodKit/IMKMouseHandling",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "InputMethodKit"
    ],
    "preciseIdentifier" : "c:objc(pl)IMKMouseHandling"
  },
  "title" : "IMKMouseHandling"
}
-->

# IMKMouseHandling

The `IMKMouseHandling` protocol defines methods that your input method can implement to handle mouse events.

```
protocol IMKMouseHandling
```

## Topics

### Handling Mouse Events

[`-  mouseDownOnCharacterIndex:coordinate:withModifier:continueTracking:client:`](/documentation/InputMethodKit/IMKMouseHandling/mouseDown(onCharacterIndex:coordinate:withModifier:continueTracking:client:))

Handles mouse-down event send to an input method.

[`-  mouseUpOnCharacterIndex:coordinate:withModifier:client:`](/documentation/InputMethodKit/IMKMouseHandling/mouseUp(onCharacterIndex:coordinate:withModifier:client:))

Handles a mouse-up event sent to an input method.

[`-  mouseMovedOnCharacterIndex:coordinate:withModifier:client:`](/documentation/InputMethodKit/IMKMouseHandling/mouseMoved(onCharacterIndex:coordinate:withModifier:client:))

Handles a mouse-moved event sent to an input method.

## Relationships

### Conforming Types

[`IMKInputController`](/documentation/InputMethodKit/IMKInputController)

---

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)