IntroductionAccount ManagerDecompiler

Scripting

Closures
Debug
Reflection
Metatable
Environment
Bit
Scripts
LuaStateProxy
oth

Instances & Events

Instances
Cache
Signals
VoltSignal
Actors

System

Filesystem
Input
iswindowactivekeyclickkeypresskeyreleasemouse1clickmouse1pressmouse1releasemouse2clickmouse2pressmouse2releasemousemoveabsmousemoverelmousescroll
Console
Crypt
Encoding
Miscellaneous

Graphics & Network

Drawing
WebSocket
RakNet
DocsGuidesRelease Notes
Input

mouse2click

Simulates a right mouse click.

Syntax

mouse2click() -> ()

Returns

This function does not return a value.

Description

mouse2click simulates a complete right mouse button click (press and release).

Example

-- Right click to open context menu
mouse2click()

Related Functions

  • mouse2press - Press right mouse
  • mouse2release - Release right mouse
  • mouse1click - Left click

mouse1release

Previous Page

mouse2press

Next Page

On this page

SyntaxReturnsDescriptionExampleRelated Functions