# How can I allow the player to 'pick up' money?

**URL:** <https://forums.unrealengine.com/t/how-can-i-allow-the-player-to-pick-up-money/319618>\
**Category:** Community & Industry Discussion\
**Tags:** money, unreal-engine, question, Blueprint\
**Created:** [May 24, 2015, 1:33pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-the-player-to-pick-up-money/319618 "2015-05-24T13:33:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_4508e159](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4508e159](https://forums.unrealengine.com/u/anonymous_user_4508e159)\
**Post date:** [May 24, 2015, 1:33pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-the-player-to-pick-up-money/319618/1 "2015-05-24T13:33:36Z")

</div>

I am trying to set up a money system in my game.

I have imported a static mesh and then created a blueprint from it. I set up it’s collision to allow for overlapping and programmed it to add to a variable and then destroy itself when the player runs over it. Only it doesn’t work, for some reason. Any help would be appreciated. I have attached a screenshot of the blueprints of the mesh.

---

<div class="post-metadata">

**Author:** ![SolarVelocity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SolarVelocity](https://forums.unrealengine.com/u/SolarVelocity)\
**Post date:** [May 24, 2015, 2:08pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-the-player-to-pick-up-money/319618/2 "2015-05-24T14:08:14Z")

</div>

What part isn’t working? Does event fire? Does money get incremented? Dies the message get displayed?

---

<div class="post-metadata">

**Author:** ![ScottSpadea](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scottspadea/32/1194682_2.png) [@ScottSpadea](https://forums.unrealengine.com/u/ScottSpadea)\
**Post date:** [May 24, 2015, 4:54pm UTC](https://forums.unrealengine.com/t/how-can-i-allow-the-player-to-pick-up-money/319618/3 "2015-05-24T16:54:06Z")

</div>

your pickup is paying itself. use the OtherActor reference, cast it to your character type, and set the character’s money variable, instead of the pickup’s money variable.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4508e159](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4508e159](https://forums.unrealengine.com/u/anonymous_user_4508e159)\
**Post date:** [May 25, 2015, 4:23am UTC](https://forums.unrealengine.com/t/how-can-i-allow-the-player-to-pick-up-money/319618/4 "2015-05-25T04:23:33Z")

</div>

The ‘Begin Overlap’ event doesn’t fire at all.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4508e159](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4508e159](https://forums.unrealengine.com/u/anonymous_user_4508e159)\
**Post date:** [May 25, 2015, 4:24am UTC](https://forums.unrealengine.com/t/how-can-i-allow-the-player-to-pick-up-money/319618/5 "2015-05-25T04:24:23Z")

</div>

Thanks, fixed that. Now I just have to get the event to fire; I don’t see the reason why it doesn’t.

---

<div class="post-metadata">

**Author:** ![ScottSpadea](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scottspadea/32/1194682_2.png) [@ScottSpadea](https://forums.unrealengine.com/u/ScottSpadea)\
**Post date:** [May 25, 2015, 8:08am UTC](https://forums.unrealengine.com/t/how-can-i-allow-the-player-to-pick-up-money/319618/6 "2015-05-25T08:08:16Z")

</div>

check the objects collision. the money pickup should have a box or sphere collision component as its root component, and its collision setting should be set to overlap pawn and ignore all other types.
