Yuari
Documentation

mouse2press

Right button control.

Syntax

mouse2press() -> nil

Parameters

This function takes no parameters.

Returns

TypeDescription
nilThis function does not return a value.

Description

mouse2press is part of the Input & clipboard library. Input helpers read or synthesize OS input and only report state while the game window is focused.

The operation is performed immediately using the arguments supplied at the call site.

The aliases mouse2release(), mouse2click() resolve to the same implementation.

Example

mouse2press()
mouse2release()
mouse2click()

Notes

  • Aliases: mouse2release(), mouse2click().
  • Input status is focus-gated and only reports while the game is active.