Skip to content
BasaltSoftware
Bedrock 1.26.60

Site colour

Discord
Esc

    ↑↓ moveEnter openEsc close

    Keyboard shortcuts
    Ctrl K
    Search the whole site, from any page
    /
    Jump to the sidebar search, or search the whole site where there isn't one
    Enter
    Open the top search result
    Esc
    Clear the search, or close this panel
    ?
    Show these shortcuts
    @basalt/menus

    MenuClickAction

    1 min read · 3 sections
    On this page

    Enum in @basalt/menus

    What a player did to a slot.

    import { MenuClickAction } from '@basalt/menus';
    import { MenuClickAction } from '@basalt/menus';
    const value: MenuClickAction = MenuClickAction.Take;
    console.log(value); // "take"
    import { MenuClickAction } from '@basalt/menus';
    const value = MenuClickAction.Take;
    console.log(value); // "take"
    Name Value Description
    Take "take" Picked up onto the cursor.
    Place "place" Put down from the cursor, or from the creative list.
    Swap "swap" Swapped with what the cursor held.
    Drop "drop" Thrown out of the slot.
    Shift "shift" Moved straight between the menu and the inventory with a shift-click.

    MenuClickEvent.action