<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGEventTapPlacement",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@E@CGEventTapPlacement"
  },
  "title" : "CGEventTapPlacement"
}
-->

# CGEventTapPlacement

Constants that specify where a new event tap is inserted into the list of active event taps.

```
enum CGEventTapPlacement
```

## Overview

Event taps may be inserted at a specified location at the head of pre-existing filters, or appended after any pre-existing filters.

## Topics

### Constants

[`CGEventTapPlacement.headInsertEventTap`](/documentation/CoreGraphics/CGEventTapPlacement/headInsertEventTap)

Specifies that a new event tap should be inserted before any pre-existing event taps at the same location.

[`CGEventTapPlacement.tailAppendEventTap`](/documentation/CoreGraphics/CGEventTapPlacement/tailAppendEventTap)

Specifies that a new event tap should be inserted after any pre-existing event taps at the same location.



---

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)