---
name: "SDL_EventAction"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_EventAction"
---

# SDL\_EventAction(3type)

The type of action to request from SDL\_PeepEvents ().

## NAME

SDL\_EventAction - The type of action to request from  **SDL\_PeepEvents** ().

## HEADER FILE

Defined in SDL3/SDL\_events.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef enum SDL\_EventAction** **{**     **SDL\_ADDEVENT,  /\*\*\< Add events to the back of the queue. \*/**     **SDL\_PEEKEVENT, /\*\*\< Check but don't remove events from the queue front. \*/**     **SDL\_GETEVENT   /\*\*\< Retrieve/remove events from the front of the queue. \*/** **} SDL\_EventAction;**

## AVAILABILITY

This enum is available since SDL 3.2.0.
