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

# SDL\_EventEnabled(3)

Query the state of processing events by type.

## NAME

SDL\_EventEnabled - Query the state of processing events by type.

## HEADER FILE

Defined in SDL3/SDL\_events.h

## SYNOPSIS

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

**bool SDL\_EventEnabled(Uint32 type);**

## FUNCTION PARAMETERS

- *type*

  the type of event; see  **SDL\_EventType**\
    for details.

## RETURN VALUE

Returns true if the event is being processed, false otherwise.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_SetEventEnabled**(3)](/SDL_SetEventEnabled/3.md)
