Skip to content
Version 2.11.0
↓ Get the launcher

InputElement record

Single-line text field (wraps the proven UGuiTextInput: Enter submits without opening chat, Esc/cursor escape). Get seeds the text; Enter/blur calls Submit. OnChange (optional) fires per-keystroke — use it for live filters that should reflow as-you-type rather than on Enter.

public record InputElement : IEquatable<HudElement>
name description
InputElement(…) Single-line text field (wraps the proven UGuiTextInput: Enter submits without opening chat, Esc/cursor escape). Get seeds the text; Enter/blur calls Submit. OnChange (optional) fires per-keystroke — use it for live filters that should reflow as-you-type rather than on Enter.
Get { get; set; }
OnChange { get; set; }
Submit { get; set; }
Width { get; set; }