---
name: "SDL_HitTestResult"
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_HitTestResult"
---

# SDL\_HitTestResult(3type)

Possible return values from the SDL\_HitTest callback.

## NAME

SDL\_HitTestResult - Possible return values from the  **SDL\_HitTest**\
  callback.

## HEADER FILE

Defined in SDL3/SDL\_video.h

## SYNOPSIS

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

**typedef enum SDL\_HitTestResult** **{**     **SDL\_HITTEST\_NORMAL,             /\*\*\< Region is normal. No special properties. \*/**     **SDL\_HITTEST\_DRAGGABLE,          /\*\*\< Region can drag entire window. \*/**     **SDL\_HITTEST\_RESIZE\_TOPLEFT,     /\*\*\< Region is the resizable top-left corner border. \*/**     **SDL\_HITTEST\_RESIZE\_TOP,         /\*\*\< Region is the resizable top border. \*/**     **SDL\_HITTEST\_RESIZE\_TOPRIGHT,    /\*\*\< Region is the resizable top-right corner border. \*/**     **SDL\_HITTEST\_RESIZE\_RIGHT,       /\*\*\< Region is the resizable right border. \*/**     **SDL\_HITTEST\_RESIZE\_BOTTOMRIGHT, /\*\*\< Region is the resizable bottom-right corner border. \*/**     **SDL\_HITTEST\_RESIZE\_BOTTOM,      /\*\*\< Region is the resizable bottom border. \*/**     **SDL\_HITTEST\_RESIZE\_BOTTOMLEFT,  /\*\*\< Region is the resizable bottom-left corner border. \*/**     **SDL\_HITTEST\_RESIZE\_LEFT         /\*\*\< Region is the resizable left border. \*/** **} SDL\_HitTestResult;**

## THREAD SAFETY

This function should only be called on the main thread.

## AVAILABILITY

This enum is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_HitTest**(3type)](/SDL_HitTest/3type.md)
