# MISC::UNREGISTER_INTERACTION_LOCKON_PROMPT

- **Hash:** `0xE98D55C5983F2509`
- **Namespace:** MISC
- **Runtime name (Lua/JS):** `UnregisterInteractionLockonPrompt`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MISC/UNREGISTER_INTERACTION_LOCKON_PROMPT

## Signature

```c
BOOL UNREGISTER_INTERACTION_LOCKON_PROMPT(Entity entity);
```

## Parameters

- `entity` (`Entity`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = UnregisterInteractionLockonPrompt(entity)

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

### JavaScript

```js
const retval = UnregisterInteractionLockonPrompt(entity);

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

### C#

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

## See also

- [MISC::REGISTER_INTERACTION_LOCKON_PROMPT](https://natives.borderlinerp.com/natives/MISC/REGISTER_INTERACTION_LOCKON_PROMPT.md) — p3 is usually the same value of radius p8 determines whether the ILO prompt is a lock on prompt with RMB

*Sources: alloc8or RDR3 NativeDB.*
