# How to detect collision for gameobject with c++?

**URL:** <https://forums.unrealengine.com/t/how-to-detect-collision-for-gameobject-with-c/472641>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [October 9, 2020, 6:27am UTC](https://forums.unrealengine.com/t/how-to-detect-collision-for-gameobject-with-c/472641 "2020-10-09T06:27:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuryaPrakashModi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SuryaPrakashModi](https://forums.unrealengine.com/u/SuryaPrakashModi)\
**Post date:** [October 9, 2020, 6:27am UTC](https://forums.unrealengine.com/t/how-to-detect-collision-for-gameobject-with-c/472641/1 "2020-10-09T06:27:12Z")

</div>

i want to make collectables for my game. so what should i do to do that by c++?

---

<div class="post-metadata">

**Author:** ![CtnDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ctndev/32/1133321_2.png) [@CtnDev](https://forums.unrealengine.com/u/CtnDev)\
**Post date:** [October 9, 2020, 8:50am UTC](https://forums.unrealengine.com/t/how-to-detect-collision-for-gameobject-with-c/472641/2 "2020-10-09T08:50:23Z")

</div>

Watch this serie by Unreal Officials, you will do whatever you want and learn lots of side and important things with it.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/a/41ac2eb1f7241eea02c80a516d9c44cf2d25a186.jpeg "C++ Battery Collector: Introduction | 01 | v4.9 Tutorial Series | Unreal Engine") ](https://www.youtube.com/watch?v=mSRov77hNR4)
