# Use Box Collision with Cursor Over

**URL:** <https://forums.unrealengine.com/t/use-box-collision-with-cursor-over/375072>\
**Category:** Blueprint\
**Tags:** cursor, box-collision, unreal-engine, Blueprint, question\
**Created:** [November 1, 2016, 5:05pm UTC](https://forums.unrealengine.com/t/use-box-collision-with-cursor-over/375072 "2016-11-01T17:05:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DMHokie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DMHokie](https://forums.unrealengine.com/u/DMHokie)\
**Post date:** [November 1, 2016, 5:05pm UTC](https://forums.unrealengine.com/t/use-box-collision-with-cursor-over/375072/1 "2016-11-01T17:05:24Z")

</div>

Is there a way to use a box collision in an actor class to detect Cursor Over? I want to use the collision box to detect when the cursor moves over it, then set an object’s visibility. But I seem to get no response using the On Begin Cursor Over for the collision box. It works with a cube and the cursor over, but I essentially want an invisible object in the scene to detect when the cursor moves over it.

---

<div class="post-metadata">

**Author:** ![Dargaran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dargaran](https://forums.unrealengine.com/u/Dargaran)\
**Post date:** [March 18, 2022, 5:56pm UTC](https://forums.unrealengine.com/t/use-box-collision-with-cursor-over/375072/2 "2022-03-18T17:56:34Z")

</div>

Very old question but if anyone else still has the problem and ends up here via google (like me), the solution is simple:  
Change the collision preset of your collision box from OverlapAllDynamic to BlockAllDynamic.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [March 18, 2022, 6:02pm UTC](https://forums.unrealengine.com/t/use-box-collision-with-cursor-over/375072/3 "2022-03-18T18:02:40Z")

</div>

A wee bit of a ham-fisted approach but it will work, of course.

The player controller handles it here:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/f/8df00e6e71fc0acd0f31fe36c443d7ebd24a6c9a.png)

So it’s enough to block that _one_ channel.

---

<div class="post-metadata">

**Author:** ![AHMED\_HOSSAM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AHMED\_HOSSAM](https://forums.unrealengine.com/u/AHMED_HOSSAM)\
**Post date:** [July 28, 2024, 7:02pm UTC](https://forums.unrealengine.com/t/use-box-collision-with-cursor-over/375072/4 "2024-07-28T19:02:06Z")

</div>

thanks
