Script API - v1.21.0
    Preparing search index...

    Binds actions to the client and manages their lifetime. Action managers are managed on a per player basis since client side UI is per player.

    interface ActionManager {
        activeToolId: string;
        createAction<T extends Action>(rawAction: T): RegisteredAction<T>;
    }
    Index

    Properties

    Methods

    Properties

    activeToolId: string

    The active tool ID

    Methods

    • Beta

      Type Parameters

      Parameters

      • rawAction: T

        The raw action to create. See ActionTypes for supported parameters

      Returns RegisteredAction<T>

      Creates an action and registers it on the client