# Mouse Trigger

> `UiPath.Core.Activities.MouseTriggerV2`

`UiPath.Core.Activities.MouseTriggerV2`

## Description

Monitors a specified mouse-key combination system-wide event.

It can be used either inside a [Trigger Scope](https://docs.uipath.com/activities/other/latest/user-guide/trigger-scope) activity or by itself within a trigger
workflow. When used by itself, the activity has one more property in the Properties panel,
namely **Enabled**.

## Properties

### **Common**

* **DisplayName** - The display name of the activity.

### **Input**

* **MouseButton** - The mouse button (left, right, middle) used for the click action. By default, the left mouse button is selected.

#### Misc

* **Enabled** - If set to **False**, the trigger starts but does not fire any
  events. It can be enabled later at runtime by using the **Enable Local Trigger**
  activity. This field supports only **Boolean** values. The default value is
  **True**.

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### **Options**

* **BlockEvent** - Specifies whether the event is blocked from acting on the indicated element. If **False**, the event is executed against the element. If **True**, the event is blocked and can be later replayed within the activity handler, by using the **ReplayUserEvent** activity.
* **KeyModifiers** - Adds a selected key modifier to the activity. The following options are available: Alt, Ctrl, Shift, Win.
