Bridge.TextUI shows a small, persistent label near the top of the screen — the classic “press a key” hint. Unlike a notification, it stays up until you hide it, so it pairs naturally with proximity checks: show it when the player walks into range, hide it when they leave.
Availability
Client only. Two calls —Show and Hide.
Signature
Bridge.TextUI.Show
The label text, e.g.
'[E] Open shop'.An optional leading icon, tinted to the theme accent.
Bridge.TextUI.Hide
Takes no arguments. Hides the currently shown label. Safe to call when nothing is shown.Text UI is a single, shared label — calling
Show again replaces the current text rather than stacking. Always pair every Show with a Hide on the exit path.Examples
The icon honors the player’s theme accent. Set
atlas:ui "ox" (or atlas:ui:textui "ox") to render the same calls through ox_lib’s textUI instead.