Skip to content
ct

Class

PickupsCollector2D

Generated GDScript class reference for ItemVault.PickupsCollector2D.

Status
Current
Version
v1.0
Updated
2026-07-31

Detects Pickup2D nodes entering this trigger and emits picked_up for each. Wire the signal to an ItemVaultRuntime (or directly to an inventory target) to route collected items into inventory.

Source: addons/item_vault/pickups/pickups_collector_2d.gd

Syntax

class PickupsCollector2D extends Area2D

Members

NameKindSummary
picked_upSignalEmitted when a pickup is successfully collected, carrying details of the event.
actorPropertyThe node performing the pickup action for this 2D collector.
sound_playerPropertyAudio player for playing pickup sound effects.
find_pickupMethod
try_pick_upMethod