Triggers
By default, FludeX opens with two triggers active simultaneously:
- Sticky trigger — a small FludeX button on screen. Double-tap it to open the panel, or press and hold to drag it anywhere. Works on all platforms.
- Keyboard trigger — press the BackQuote key (
`/~). Works on desktop and editor.
The tap trigger described below is still available. Devices that were already opening FludeX with it keep it (unless a Default Trigger is chosen in the Editor Settings window). Any of these can be replaced or combined using Initialize(trigger); see Configuration Layers for the order FludeX uses to pick the trigger.
Tap Trigger
A slightly visible hit area that opens the panel after N taps in a row. Respects device safe area automatically. Configure it by passing a FludexTapTriggerConfig when constructing FludexTapTrigger:
| Property | Description | Default |
|---|---|---|
TapsToShow | Number of taps required to open the panel | 3 |
Position | Normalized screen position of the hit area | Bottom-center (0.5, 1.0) |
Radius | Hit area size in pixels | 30 px |
Padding | Extra space around the hit area | 20 px |
Opacity | Visibility of the hit area (0 = invisible, 1 = fully visible) | 0.05 |
csharp
FludeX.Instance.Initialize(new FludexCompositeTrigger(
new FludexTapTrigger(new FludexTapTriggerConfig { TapsToShow = 5, Radius = 40 }),
new FludexKeyboardTrigger()
));Runtime Configuration
Position, Padding, Radius, and Opacity can also be adjusted live, without touching code — Core Settings has a "TRIGGER" section with a "Setup" button that opens a dedicated Trigger Settings page for the active trigger. Changes apply immediately and persist across restarts.
The FludexTapTriggerConfig you pass at Initialize() time only supplies the seed values for a device's first launch — the same relationship FludexConfig has with Core Settings (see Core Settings — Persistence vs. FludexConfig). After that, whatever's set on the Trigger Settings page takes over and survives restarts, independent of what your code passes at Initialize() time. "Reset Settings" in Core Settings' Danger Zone resets the trigger back to that seed (or FludeX's built-in defaults, if none was supplied) along with everything else.
Keyboard Trigger
Opens and closes the panel with a single key press. Uses OnGUI / Event.current — no Input System package dependency.
csharp
// Default key: BackQuote (` / ~)
FludeX.Instance.Initialize(new FludexKeyboardTrigger());
// Custom key — useful for non-US keyboard layouts
FludeX.Instance.Initialize(new FludexKeyboardTrigger(KeyCode.F12));Composite Trigger
Combines multiple triggers so all are active at once:
csharp
FludeX.Instance.Initialize(new FludexCompositeTrigger(
new FludexTapTrigger(settings),
new FludexKeyboardTrigger()
));Manual Control
If you want full control over when the panel appears — for example, opening it from a button in your own UI or tying it to a custom game event — pass FludexNoTrigger to skip the built-in triggers entirely and drive visibility from code:
csharp
FludeX.Instance.Initialize(new FludexNoTrigger());
// Open and close the panel whenever you need:
FludeX.Instance.Show();
FludeX.Instance.Hide();