# Function Reference

MouseUp

Perform a mouse up event at the current mouse position.

MouseUp ( "button" )

Parameters

button | The button to click: "left", "right", "middle", "main", "menu", "primary", "secondary".

Return Value

Success: | Returns 1.
Failure: | Returns 0, the button is not in the list.

Remarks

See MouseClick remarks.
User responsibility: For every MouseDown there should eventually be a corresponding MouseUp event.

Related

MouseDown, MouseClick, MouseClickDrag, MouseGetPos, MouseMove, MouseCoordMode (Option)

Example

MouseDown("left")
Sleep(100)
MouseUp("left")