# Pickups

> Aego 0.12.5 · development; docs build `4a32b816933e02930662f6a443cb25abe6050d090c55e237cbff5c44ae9b25f8`. [Build manifest](/docs-build.json).

A [Pickup 2D](/ref/gameplay.Pickup2D.md) fires `Collected(by)` when a node enters it: a tagged node, or any node with Motion 2D. With Once it then disappears, back to its pool with Despawn.

    func Ready() {
        conn = Coin.Get<Pickup2D>().Collected.Connect(OnCoin)
    }

    func OnCoin(by NodeRef) {
        coins++
    }

The counter in the corner of the scene connects to every coin.
