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

    Interface IRegisteredKeyBindingBeta

    Key binding that is registered to an input context

    interface IRegisteredKeyBinding {
        id: string;
        getProcessingState(): KeyProcessingState;
        setProcessingState(newState: undefined | KeyProcessingState): void;
    }
    Index

    Properties

    id: string

    Unique identifier for the binding.

    Methods

    • Beta

      Parameters

      Returns void

      Updates how the key input will be processed for this binding. If undefined, it will be consumed.