---
name: "SDL_GetSandbox"
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_GetSandbox"
---

# SDL\_GetSandbox(3)

Get the application sandbox environment, if any.

## NAME

SDL\_GetSandbox - Get the application sandbox environment, if any.

## HEADER FILE

Defined in SDL3/SDL\_system.h

## SYNOPSIS

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

**SDL\_Sandbox SDL\_GetSandbox(void);**

## RETURN VALUE

( **SDL\_Sandbox** ) Returns the application sandbox environment or

**SDL\_SANDBOX\_NONE**\
  if the application is not running in a sandbox environment.

## AVAILABILITY

This function is available since SDL 3.2.0.
