@minecraft/server-editor
    Preparing search index...

    Interface IGlobalInputManagerBeta

    interface IGlobalInputManager {
        registerBindingCategory(id: string, label: string, order: number): void;
        registerKeyBinding(
            inputContextId: EditorInputContext,
            action: SupportedKeyboardActionTypes,
            binding: KeyBinding,
            info?: KeyBindingInfo,
        ): IRegisteredKeyBinding;
        setMouseIcon(
            contextId: EditorInputContext,
            mouseIcon: MouseCursorIconType | undefined,
        ): void;
    }
    Index

    Methods

    • Beta

      Parameters

      • id: string

        Unique category identifier (use a CoreInputBindingCategory value or a custom string).

      • label: string

        Localized display name shown as the group heading.

      • order: number

        Numeric sort order; lower values appear first.

      Returns void

      Register a named control category for display in the Control Help panel.

    • Beta

      Parameters

      Returns void

      Set or clear the mouse cursor icon for a given editor input context layer.