# How do you make a collectible that can be picked up by pressing E?

**URL:** <https://forums.unrealengine.com/t/how-do-you-make-a-collectible-that-can-be-picked-up-by-pressing-e/488703>\
**Category:** C++\
**Tags:** collectables, unreal-engine, question\
**Created:** [September 12, 2021, 8:05pm UTC](https://forums.unrealengine.com/t/how-do-you-make-a-collectible-that-can-be-picked-up-by-pressing-e/488703 "2021-09-12T20:05:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Holdawesome](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Holdawesome](https://forums.unrealengine.com/u/Holdawesome)\
**Post date:** [September 12, 2021, 8:05pm UTC](https://forums.unrealengine.com/t/how-do-you-make-a-collectible-that-can-be-picked-up-by-pressing-e/488703/1 "2021-09-12T20:05:23Z")

</div>

I am trying to learn unreal. I am having a lot of trouble with it. I have only seen collectibles that can be picked up by walking through them. I want to know how to make a simple collectible that can be picked up by going up to it and pressing E. I would also like to record that the player picked it up. Anything that explains how I do it or helps me figure out how to do it would be helpful. The character is in the third person and moves forward automatically on tick.

---

<div class="post-metadata">

**Author:** ![Powill](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Powill](https://forums.unrealengine.com/u/Powill)\
**Post date:** [September 13, 2021, 3:07am UTC](https://forums.unrealengine.com/t/how-do-you-make-a-collectible-that-can-be-picked-up-by-pressing-e/488703/2 "2021-09-13T03:07:09Z")

</div>

I recommend using interfaces and overlaps. If you watch this [video](https://youtu.be/ivTvfo4dGNQ), it should give you some good instruction on how to accomplish what the pickup.

In regards to the `E` prompt, you’re going to want to look into widgets and either adding to the viewport when you want to give the player this opportunity, or by making it visible (both approaches are good). Here’s another [video](https://youtu.be/Os7uf-wiU8o) that should help.

---

<div class="post-metadata">

**Author:** ![Holdawesome](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Holdawesome](https://forums.unrealengine.com/u/Holdawesome)\
**Post date:** [September 13, 2021, 3:40am UTC](https://forums.unrealengine.com/t/how-do-you-make-a-collectible-that-can-be-picked-up-by-pressing-e/488703/3 "2021-09-13T03:40:27Z")

</div>

Thank you the videos are very helpful.
