Skip to main content

Class: MouseHoldBinding

Defined in: input/mouse/bindings/mouse-hold-binding.ts:12

Mouse hold input binding.

Implements​

Constructors​

Constructor​

new MouseHoldBinding(action, mouseButton): MouseHoldBinding

Defined in: input/mouse/bindings/mouse-hold-binding.ts:26

Constructs a new MouseHoldBinding.

Parameters​

action​

HoldAction

The action associated with this binding.

mouseButton​

MouseButton

The mouse button associated with this binding.

Returns​

MouseHoldBinding

Properties​

action​

readonly action: HoldAction

Defined in: input/mouse/bindings/mouse-hold-binding.ts:16

The action associated with this binding.

Implementation of​

InputBinding.action


displayText​

readonly displayText: string

Defined in: input/mouse/bindings/mouse-hold-binding.ts:20

A human-readable description of this binding.

Implementation of​

InputBinding.displayText


mouseButton​

readonly mouseButton: MouseButton

Defined in: input/mouse/bindings/mouse-hold-binding.ts:18

The mouse button associated with this binding.

Implementation of​

MouseHoldBindingArgs.mouseButton