Basics
Guides
API Reference
Basics
Guides
API Reference
[12:14] static extends: object
Helper for FXGL's InputModifier enum: NONE, CTRL, SHIFT, ALT. Used as the optional third argument to Input.addAction to require a specific modifier key alongside the primary trigger.
get (string Name)
Resolves an InputModifier value by name.
Name is the modifier name: "NONE", "CTRL", "SHIFT", or "ALT".An AussomJavaObject wrapping the InputModifier value.values ()
Returns InputModifier[] containing every constant.
valueOf (string Name)
Standard Enum.valueOf — strict variant of get.
from (object EventAjo)
Resolves the InputModifier active in the supplied JavaFX key or mouse event. Returns NONE when no modifier is held.
isTriggered (object ModifierAjo, object EventAjo)
Returns true when the supplied modifier AJO matches the modifier active in the given JavaFX key or mouse event.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.