Skip to content

Class pinnacle.input.Mousebind : pinnacle.input.Bind

A mousebind.

Fields

button

button: pinnacle.input.MouseButton

The mouse button that will trigger this bind.

on_press nullable

on_press?: fun()

An action that will be run when the mousebind is pressed.

on_release nullable

on_release?: fun()

An action that will be run when the mousebind is released.

Last updated: