Basics
Guides
API Reference
Basics
Guides
API Reference
[13:14] static extends: object
Helper for FXGL's VirtualButton enum, which catalogs the standard game-controller buttons (A, B, X, Y, LB, RB, START, SELECT, etc.) used in Controller state queries. The enum lives in com.almasb.fxgl.input.virtual.VirtualButton.
get (string Name)
Resolves a VirtualButton enum value by name.
Name is the button name (e.g. "A", "B", "X", "Y", "LB", "RB", "START", "SELECT", "UP", "DOWN", "LEFT", "RIGHT").An AussomJavaObject around the VirtualButton value.names ()
Returns the list of valid VirtualButton enum names so Aussom callers can discover what get(Name) accepts.
A list of strings.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.