public void ActionPerformed(InputAction.CallbackContext ctx) { player.SetAction(ctx.ReadValueAsButton()); }