Volt

mouse2press

Simulates pressing the right mouse button.

Syntax

mouse2press() -> void

Returns

This function does not return a value.

Description

mouse2press simulates pressing down the right mouse button. Use mouse2release to release it.

Example

mouse2press()
task.wait(0.5)
mouse2release()

On this page