Skip to content
mouse114514 edited this page Sep 12, 2026 · 1 revision

Use/Drop/Equip Item

Use/Drop/Equip Item

Overview

Performs an action on a target item: use (invoke its useAction), drop, or equip.

Slots

This block picks the target and action with dropdowns; it has no input slots.

Dropdown Options

Field Option Value Description
TARGET Current item this operate on the current handheld item
TARGET Left hand left operate on the item in the left hand (limb[0].handItem)
TARGET Right hand right operate on the item in the right hand (limb[1].handItem)
ACTION Use use invoke the item's useAction
ACTION Drop drop drop the item
ACTION Equip equip wear the item

Connections

Connection Type Description
Top Statement connects after a previous statement
Bottom Statement continues to the next statement

Generated Code

  • Use → item.Stats.useAction?.Invoke(body, item);
  • Drop → body.DropItem(item);
  • Equip → body.WearWearable(item);

Block ID: cu_item_use


中文 | Item Action Blocks | Block Reference

Clone this wiki locally