---
title: "WebCommandMouse"
description: "API documentation for WebCommandMouse"
url: https://developer.disguise.one/python-api/docs/webcommandmouse/
---

# WebCommandMouse

A WebCommand that sends a mouse cursor event to the browser.

Base class (inherits properties and methods): _[WebCommand](/python-api/docs/webcommand#webcommand)_

## Properties

#### **Normal\_Pos** : _[Vec2](/python-api/docs/vec2#vec2)_

Sets the mouse cursor position event to send. This position is normalized where position (0, 0) is top left and position (1, 1) is bottom right. Setting this to a negative number will not send this event.

#### **pressed\_left** : _int_

A left button pressed event. Set to any non-zero value to trigger event.

#### **pressed\_middle** : _int_

A middle mouse button pressed event. Set to any non-zero value to trigger event.

#### **pressed\_right** : _int_

A right mouse button pressed event. Set to any non-zero value to trigger event.

#### **released\_left** : _int_

A left mouse button released event. Set to any non-zero value to trigger event.

#### **released\_middle** : _int_

A middle mouse button released event. Set to any non-zero value to trigger event.

#### **released\_right** : _int_

A right mouse button released event. Set to any non-zero value to trigger event.

#### **scroll\_wheel** : _int_

Sets a mouse scroll wheel value to send. Positive values scroll up, negative scroll down and zero does not send the event.

## Constructors

#### **\_\_init\_\_**(self)
