# HUD::_UI_PROMPT_WAS_BEAT_MODE_PRESSED_IN_TIME_WINDOW

- **Hash:** `0x1FE4788AB1430C55`
- **Namespace:** HUD
- **Runtime name (Lua/JS):** `UiPromptWasBeatModePressedInTimeWindow`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_WAS_BEAT_MODE_PRESSED_IN_TIME_WINDOW

## Signature

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

## Parameters

- `prompt` (`Prompt`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = UiPromptWasBeatModePressedInTimeWindow(prompt)

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

### JavaScript

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

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

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x1FE4788AB1430C55, 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.*
