Yuari
Documentation

mouse1press

Left button control (click = press + release).

Syntax

mouse1press() -> nil

Parameters

This function takes no parameters.

Returns

TypeDescription
nilThis function does not return a value.

Description

mouse1press 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 mouse1release(), mouse1click() resolve to the same implementation.

Example

mouse1press()
mouse1release()
mouse1click()

Notes

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