---
title: CGEventTapPlacement
framework: coregraphics
role: symbol
role_heading: Enumeration
path: coregraphics/cgeventtapplacement
---

# CGEventTapPlacement

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

## Declaration

```swift
enum CGEventTapPlacement
```

## Overview

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](coregraphics/cgeventtapplacement/headinserteventtap.md)
- [CGEventTapPlacement.tailAppendEventTap](coregraphics/cgeventtapplacement/tailappendeventtap.md)

### Initializers

- [init(rawValue:)](coregraphics/cgeventtapplacement/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Enumerations

- [CGCaptureOptions](coregraphics/cgcaptureoptions.md)
- [CGColorConversionInfoTransformType](coregraphics/cgcolorconversioninfotransformtype.md)
- [CGColorRenderingIntent](coregraphics/cgcolorrenderingintent.md)
- [CGConfigureOption](coregraphics/cgconfigureoption.md)
- [CGDisplayChangeSummaryFlags](coregraphics/cgdisplaychangesummaryflags.md)
- [CGDisplayStreamFrameStatus](coregraphics/cgdisplaystreamframestatus.md)
- [CGDisplayStreamUpdateRectType](coregraphics/cgdisplaystreamupdaterecttype.md)
- [CGError](coregraphics/cgerror.md)
- [CGEventField](coregraphics/cgeventfield.md)
- [CGEventFilterMask](coregraphics/cgeventfiltermask.md)
- [CGEventFlags](coregraphics/cgeventflags.md)
- [CGEventMouseSubtype](coregraphics/cgeventmousesubtype.md)
- [CGEventSourceStateID](coregraphics/cgeventsourcestateid.md)
- [CGEventSuppressionState](coregraphics/cgeventsuppressionstate.md)
- [CGEventTapLocation](coregraphics/cgeventtaplocation.md)
