# CFX::SEND_DUI_MOUSE_DOWN

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

## Signature

```c
void SEND_DUI_MOUSE_DOWN(long duiObject, char* button);
```

## Parameters

- `duiObject` (`long`) — The DUI browser handle.
- `button` (`char*`) — Either `'left'`, `'middle'` or `'right'`.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Injects a 'mouse down' event for a DUI object. Coordinates are expected to be set using SEND_DUI_MOUSE_MOVE.

## Usage

### Lua

```lua
SendDuiMouseDown(duiObject, button)

-- always available, by hash
Citizen.InvokeNative(0x5d01f191, duiObject, button)
```

### JavaScript

```js
SendDuiMouseDown(duiObject, button);

// by hash
Citizen.invokeNative('0x5d01f191', duiObject, button);
```

### C#

```csharp
Function.Call((Hash)0x5d01f191, duiObject, button);
```

*Sources: Cfx.re native reference.*
