# MouseClickedEvent

Gets called when the mouse is clicked.

### Extends

* [`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent)

### Methods

#### cancel()

> **cancel**(): `void`

Cancels the event.

**Returns**

`void`

**Inherited from**

[`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent).[`cancel`](https://scripting.breeze.rip/breeze/event/cancellableevent#cancel)

***

#### getButton()

> **getButton**(): `string`

Gets the button that was clicked.

**Returns**

`string`

the type of MouseClickedEvent can be: LEFT, RIGHT, or HOLD\_LEFT

***

#### isCancelled()

> **isCancelled**(): `boolean`

**Returns**

`boolean`

If the event is cancelled or not.

**Inherited from**

[`CancellableEvent`](https://scripting.breeze.rip/api/breeze/event/cancellableevent).[`isCancelled`](https://scripting.breeze.rip/breeze/event/cancellableevent#iscancelled)
