# SDL_GetRelativeMouseMode

Query whether relative mouse mode is enabled.

## Header File

Defined in [SDL_mouse.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_mouse.h)

## Syntax

```c
SDL_bool SDL_GetRelativeMouseMode(void);
```

## Return Value

([SDL_bool](SDL_bool)) Returns [SDL_TRUE](SDL_TRUE) if relative mode is
enabled or [SDL_FALSE](SDL_FALSE) otherwise.

## Version

This function is available since SDL 2.0.0.

## See Also

- [SDL_SetRelativeMouseMode](SDL_SetRelativeMouseMode)

----
[CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategoryMouse](CategoryMouse)

