> ## Documentation Index
> Fetch the complete documentation index at: https://docsuncv2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# mouse2click

Simulates a full right mouse button click.

```luau theme={null}
mouse2click(): ()
```

## Returns

<code title="the function does not return a value.">void</code>

## Example

<CodeGroup>
  ```luau Example 1 theme={null}
  <<<<<<< HEAD
  mouse2click()
  =======
  -- mouse2click(): ()
  >>>>>>> 50e30f53759b0538759af25c9b271514aa2c9290
  ```

  ```luau Example 2 theme={null}
  mouse2click() -- Performs right click
  ```
</CodeGroup>

<Tip>
  Fires a right mouse button press and release.
</Tip>
