# HUD::_UI_PROMPT_HAS_MASH_MODE_JUST_PRESSED

- **Hash:** `0xB0E8599243B3F568`
- **Namespace:** HUD
- **Runtime name (Lua/JS):** `UiPromptHasMashModeJustPressed`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_HAS_MASH_MODE_JUST_PRESSED

## Signature

```c
BOOL _UI_PROMPT_HAS_MASH_MODE_JUST_PRESSED(Prompt prompt);
```

## Parameters

- `prompt` (`Prompt`)

## Returns

`BOOL`

## Description

*Source: VORPCORE RDR3natives*

returns true if the mash mode have just been pressed

## Usage

### Lua

```lua
local retval = UiPromptHasMashModeJustPressed(prompt)

-- always available, by hash
local retval = Citizen.InvokeNative(0xB0E8599243B3F568, prompt, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = UiPromptHasMashModeJustPressed(prompt);

// by hash
const retval = Citizen.invokeNative('0xB0E8599243B3F568', prompt, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xB0E8599243B3F568, prompt);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
