---
name: "removeUserActionEventHandler"
type: command
status: ok
groups: ["Event Handlers"]
arma3_since: "2.06"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/removeUserActionEventHandler
revid: 364189
updated: 2024-05-05T10:46:49Z
---

# removeUserActionEventHandler

*Command · Event Handlers · Arma 3 v2.06*

Locality: effect **local**

## Description

Removes a UserAction event handler. For a list of available UserAction event handlers, see: [Arma 3: Mission Event Handlers](../topics/Mission_Event_Handlers.md).

## Syntax

```sqf
removeUserActionEventHandler [keyName, event, index]
```

**Parameters:**

- `keyName`: [String](../topics/String.md) - action key name; see inputAction/actions
- `event`: [String](../topics/String.md) - event name - see [UserAction Event Handlers](../topics/Event_Handlers.md#useraction-event-handlers). Can be one of:
  - "Activate"
  - "Deactivate"
  - "Analog"
- `index`: [Number](../topics/Number.md) - index returned by [addUserActionEventHandler](../commands/addUserActionEventHandler.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
removeUserActionEventHandler ["Reload", "Activate", _reloadUAEH];
```

## See also

[addUserActionEventHandler](../commands/addUserActionEventHandler.md) · [removeAllUserActionEventHandlers](../commands/removeAllUserActionEventHandlers.md) · [Arma 3: Event Handlers](../topics/Event_Handlers.md)

<sub>Source: [BI Community Wiki — removeUserActionEventHandler](https://community.bistudio.com/wiki/removeUserActionEventHandler) (revision 364189).</sub>
