Skip to content

Documentation / scene / IModKey

Interface: IModKey ​

Defined in: libs/scene/src/camera/base.ts:28

Standard modifier key set for mouse/keyboard events.

Encapsulates common modifier keys such as Ctrl, Alt, Shift, and Meta.

Extended by ​

Properties ​

ctrlKey ​

readonly ctrlKey: boolean

Defined in: libs/scene/src/camera/base.ts:30

Whether the Control key is pressed.


metaKey ​

readonly metaKey: boolean

Defined in: libs/scene/src/camera/base.ts:32

Whether the Meta (Command on macOS) key is pressed.


shiftKey ​

readonly shiftKey: boolean

Defined in: libs/scene/src/camera/base.ts:34

Whether the Shift key is pressed.


altKey ​

readonly altKey: boolean

Defined in: libs/scene/src/camera/base.ts:36

Whether the Alt/Option key is pressed.

Released under the MIT License.