# Why does my mouse click not work?

**URL:** <https://forums.unrealengine.com/t/why-does-my-mouse-click-not-work/606252>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [July 16, 2022, 12:17pm UTC](https://forums.unrealengine.com/t/why-does-my-mouse-click-not-work/606252 "2022-07-16T12:17:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nc0re](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nc0re](https://forums.unrealengine.com/u/Nc0re)\
**Post date:** [July 16, 2022, 12:17pm UTC](https://forums.unrealengine.com/t/why-does-my-mouse-click-not-work/606252/1 "2022-07-16T12:17:51Z")

</div>

![bild_2022-07-16_141625068](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/4/0447d6d0b43965cd1dc928c2b5c854751bdb2a57.png)

When I try clicking on the thing, nothing happens.

---

<div class="post-metadata">

**Author:** ![oAnubus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oanubus/32/551838_2.png) [@oAnubus](https://forums.unrealengine.com/u/oAnubus)\
**Post date:** [July 16, 2022, 4:48pm UTC](https://forums.unrealengine.com/t/why-does-my-mouse-click-not-work/606252/2 "2022-07-16T16:48:03Z")

</div>

I believe the thing you are trying to click would have its own event, so you wouldn’t need to make custom events for it.

---

<div class="post-metadata">

**Author:** ![Nc0re](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nc0re](https://forums.unrealengine.com/u/Nc0re)\
**Post date:** [July 16, 2022, 6:09pm UTC](https://forums.unrealengine.com/t/why-does-my-mouse-click-not-work/606252/3 "2022-07-16T18:09:23Z")

</div>

I used the green plus button on the button I’m trying to click. That creates the custom event. So I assumed it would work.  
…It doesn’t.

---

<div class="post-metadata">

**Author:** ![oAnubus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oanubus/32/551838_2.png) [@oAnubus](https://forums.unrealengine.com/u/oAnubus)\
**Post date:** [July 16, 2022, 6:14pm UTC](https://forums.unrealengine.com/t/why-does-my-mouse-click-not-work/606252/4 "2022-07-16T18:14:48Z")

</div>

Can you show the thing thats being clicked?

---

<div class="post-metadata">

**Author:** ![Nc0re](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nc0re](https://forums.unrealengine.com/u/Nc0re)\
**Post date:** [July 16, 2022, 6:35pm UTC](https://forums.unrealengine.com/t/why-does-my-mouse-click-not-work/606252/5 "2022-07-16T18:35:30Z")

</div>

Not sure how you mean. Here are two pictures.

 ![Button in editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/a/d4a5b588b8331eb86118656424e04b88073f2461.png)  
 ![Button to press](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/2/15259a5e0650422723ff40a4edb360d28a963e84.png)

---

<div class="post-metadata">

**Author:** ![oAnubus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oanubus/32/551838_2.png) [@oAnubus](https://forums.unrealengine.com/u/oAnubus)\
**Post date:** [July 16, 2022, 8:44pm UTC](https://forums.unrealengine.com/t/why-does-my-mouse-click-not-work/606252/7 "2022-07-16T20:44:17Z")

</div>

Is the target GO what you want to toggle the visibility or is it something else?

---

<div class="post-metadata">

**Author:** ![Nc0re](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nc0re](https://forums.unrealengine.com/u/Nc0re)\
**Post date:** [July 16, 2022, 9:00pm UTC](https://forums.unrealengine.com/t/why-does-my-mouse-click-not-work/606252/8 "2022-07-16T21:00:46Z")

</div>

That was just a way to visualize that something happens. Once I get clicking to work I’ll start building the functionality. But basically the button is meant to start a new round.

---

<div class="post-metadata">

**Author:** ![Nc0re](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nc0re](https://forums.unrealengine.com/u/Nc0re)\
**Post date:** [July 17, 2022, 9:41am UTC](https://forums.unrealengine.com/t/why-does-my-mouse-click-not-work/606252/9 "2022-07-17T09:41:27Z")

</div>

I finally solved. Figured i write it here in case anyone in the future has troubles.

I had three problems.

1. I did not realize objects had to be at least pawns in order to be clickeable.

2. The objects did not have a mesh that could block visual trace, so they didn’t “feel” the click. Making a collision-box that does block visual trace solved that.

3. I had invisible blocks that block visual trace in front of the object, as such they blocked any clicking attempts.
