# CFX::SET_NUI_ZINDEX

- **Hash:** `0x3734AAFF`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetNuiZindex`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_NUI_ZINDEX

## Signature

```c
void SET_NUI_ZINDEX(int zIndex);
```

## Parameters

- `zIndex` (`int`) — New z-index value.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Set the z-index of the NUI resource.

## Usage

### Lua

```lua
SetNuiZindex(zIndex)

-- always available, by hash
Citizen.InvokeNative(0x3734aaff, zIndex)
```

### JavaScript

```js
SetNuiZindex(zIndex);

// by hash
Citizen.invokeNative('0x3734aaff', zIndex);
```

### C#

```csharp
Function.Call((Hash)0x3734aaff, zIndex);
```

*Sources: Cfx.re native reference.*
