# Error OnComponentBeginOverlap

**URL:** <https://forums.unrealengine.com/t/error-oncomponentbeginoverlap/423833>\
**Category:** C++\
**Tags:** oncomponentbeginover, unreal-engine, compile-error, CPP, question\
**Created:** [April 28, 2018, 10:43pm UTC](https://forums.unrealengine.com/t/error-oncomponentbeginoverlap/423833 "2018-04-28T22:43:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ProgGog](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ProgGog](https://forums.unrealengine.com/u/ProgGog)\
**Post date:** [April 28, 2018, 10:43pm UTC](https://forums.unrealengine.com/t/error-oncomponentbeginoverlap/423833/1 "2018-04-28T22:43:38Z")

</div>

Some problem occured when i tried to implement OnComponentBeginOverlap event. I did same thing as in tutorials but compilation error hasn’t gone. Heres my code:

 ![239149-h.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/3/5e34f86447030933b0f9159211b42b99113f74fe.png)

 ![239150-cpp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/e/7ae8c12ca525862a732e9b409ec9c605f34f6a9d.png)

And here’s compilation error:

 ![239171-q1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/a/27a92624be1c6d361ae2a051b46b20de4f863408.png)

 ![239172-q2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/2/422f21370cc6f6a20a6acc13c93c090a71253551.png)

I don’t know what’s wrong. Please, help me if you can. Thank you.
