2d pick up

Any tips for picking items up with R key? Currently if i have the same 2 items and i pick up one they are both destroyed.
alt text

That also doesnt work

Put a collision on Character/Pawn BP,

On pressing R, get colliding actors, for loop, cast each actor to Item actor,

if cast succeeded, do pick up logic,

and finally, to destroy this item,

connect this actor to target in destroy actor function. This will destroy that one specific actor only.