@ujjwalvivek/tinyts
    Preparing search index...

    Interface TextInputState

    Mutable state for an in-game text input field.

    interface TextInputState {
        active: boolean;
        cursor: number;
        value: string;
    }
    Index

    Properties

    Properties

    active: boolean

    Whether the input is currently accepting keystrokes.

    cursor: number

    Cursor position (character index).

    value: string

    Current text content.