SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Enumeration MouseButton

    Mouse buttons for world interaction.

    from enum soulfire.v1.MouseButton

    Index
    LEFT_BUTTON: 1

    Left mouse button. Actions: Attack entity (if looking at one), start breaking block (if looking at one).

    from enum value: LEFT_BUTTON = 1;

    MOUSE_BUTTON_UNSPECIFIED: 0

    Invalid/unspecified button. Will result in an error.

    from enum value: MOUSE_BUTTON_UNSPECIFIED = 0;

    RIGHT_BUTTON: 2

    Right mouse button. Actions: Use held item, interact with entity (if looking at one), interact with block (if looking at one, e.g., open chest, press button).

    from enum value: RIGHT_BUTTON = 2;