# GRAPHICS::SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU

- **Hash:** `0x906B86E6D7896B9E`
- **Namespace:** GRAPHICS
- **Runtime name (Lua/JS):** `SetScriptGfxDrawBehindPausemenu`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/GRAPHICS/SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU

## Signature

```c
void SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU(BOOL toggle);
```

## Parameters

- `toggle` (`BOOL`)

## Returns

`void`

## Description

Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for draw commands that are used with a world render target.

## Usage

### Lua

```lua
SetScriptGfxDrawBehindPausemenu(toggle)

-- always available, by hash
Citizen.InvokeNative(0x906B86E6D7896B9E, toggle)
```

### JavaScript

```js
SetScriptGfxDrawBehindPausemenu(toggle);

// by hash
Citizen.invokeNative('0x906B86E6D7896B9E', toggle);
```

### C#

```csharp
Function.Call((Hash)0x906B86E6D7896B9E, toggle);
```

*Sources: alloc8or RDR3 NativeDB.*
