# CFX::CANCEL_EVENT

- **Hash:** `0xFA29D35D`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `CancelEvent`
- **Side:** shared (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/CANCEL_EVENT

## Signature

```c
void CANCEL_EVENT();
```

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Cancels the currently executing event.

## Usage

### Lua

```lua
CancelEvent()

-- always available, by hash
Citizen.InvokeNative(0xfa29d35d)
```

### JavaScript

```js
CancelEvent();

// by hash
Citizen.invokeNative('0xfa29d35d');
```

### C#

```csharp
Function.Call((Hash)0xfa29d35d);
```

*Sources: Cfx.re native reference.*
