# Event "On Clicked Mesh" stops working when I minimize the game or give alt + tab

**URL:** <https://forums.unrealengine.com/t/event-on-clicked-mesh-stops-working-when-i-minimize-the-game-or-give-alt-tab/474565>\
**Category:** Asset Creation\
**Tags:** click-event, stop-rendering, unreal-engine, question\
**Created:** [November 16, 2020, 3:04pm UTC](https://forums.unrealengine.com/t/event-on-clicked-mesh-stops-working-when-i-minimize-the-game-or-give-alt-tab/474565 "2020-11-16T15:04:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suundumused](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/suundumused/32/599389_2.png) [@Suundumused](https://forums.unrealengine.com/u/Suundumused)\
**Post date:** [November 16, 2020, 3:04pm UTC](https://forums.unrealengine.com/t/event-on-clicked-mesh-stops-working-when-i-minimize-the-game-or-give-alt-tab/474565/1 "2020-11-16T15:04:15Z")

</div>

Event “On Clicked Mesh” stops working when I minimize the game or give alt + tab  
I’m having a problem with this type of event, it works normally, but when I press alt + tab to leave the game screen “minimize” and after I go back to the game screen, the event doesn’t work anymore.

![322200-mouse32.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/6/876051421fee40e5b43c156f69557b384cafab51.png)

 ![322211-mouse1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/2/ec2f3aae19c1af664f2a5b71fbb6886ad0d966b0.png)

 ![322212-mouse-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/8/9180b0da1ff4dc76fa9639b17fbaf8e13e343c97.png)

![322216-4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/3/7f3b34dc6cffe5663cae6759dfa514bc3c1de001.png)

---

<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:** [November 16, 2020, 3:16pm UTC](https://forums.unrealengine.com/t/event-on-clicked-mesh-stops-working-when-i-minimize-the-game-or-give-alt-tab/474565/2 "2020-11-16T15:16:31Z")

</div>

It stops working permanently?

As in, you alt-tab, return to the game, _click in the viewport first_, and only then attempt to evoke the On Released.

The above does not work?

---

<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:** [November 16, 2020, 3:17pm UTC](https://forums.unrealengine.com/t/event-on-clicked-mesh-stops-working-when-i-minimize-the-game-or-give-alt-tab/474565/3 "2020-11-16T15:17:42Z")

</div>

Could you test it like this:

![322209-screenshot-2020-11-16-151704.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/9/e996ed219416c61459aceba235e323ebc16253ba.jpeg)

With the Standalone Game mode.

---

<div class="post-metadata">

**Author:** ![Suundumused](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/suundumused/32/599389_2.png) [@Suundumused](https://forums.unrealengine.com/u/Suundumused)\
**Post date:** [November 16, 2020, 3:42pm UTC](https://forums.unrealengine.com/t/event-on-clicked-mesh-stops-working-when-i-minimize-the-game-or-give-alt-tab/474565/4 "2020-11-16T15:42:51Z")

</div>

Permanently stops working

---

<div class="post-metadata">

**Author:** ![Suundumused](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/suundumused/32/599389_2.png) [@Suundumused](https://forums.unrealengine.com/u/Suundumused)\
**Post date:** [November 16, 2020, 3:43pm UTC](https://forums.unrealengine.com/t/event-on-clicked-mesh-stops-working-when-i-minimize-the-game-or-give-alt-tab/474565/5 "2020-11-16T15:43:07Z")

</div>

I already use Standalone

---

<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:** [November 16, 2020, 4:02pm UTC](https://forums.unrealengine.com/t/event-on-clicked-mesh-stops-working-when-i-minimize-the-game-or-give-alt-tab/474565/6 "2020-11-16T16:02:16Z")

</div>

Even though I’ve never experienced this myself and never managed to reproduce the behaviour on my end (I can alt+tab all day, no matter what and events work fine), I’ve seen posts regarding UE4 mishandling input in this fashion - when the viewport loses focus.

> after I go back to the game screen,  
> the event doesn’t work anymore

As strange as it may seem - is it this one particular event? Other input actions work as expected?

---

<div class="post-metadata">

**Author:** ![Suundumused](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/suundumused/32/599389_2.png) [@Suundumused](https://forums.unrealengine.com/u/Suundumused)\
**Post date:** [November 16, 2020, 6:47pm UTC](https://forums.unrealengine.com/t/event-on-clicked-mesh-stops-working-when-i-minimize-the-game-or-give-alt-tab/474565/7 "2020-11-16T18:47:40Z")

</div>

Other events like when the mouse overlaps a collision work normally.

---

<div class="post-metadata">

**Author:** ![Suundumused](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/suundumused/32/599389_2.png) [@Suundumused](https://forums.unrealengine.com/u/Suundumused)\
**Post date:** [November 16, 2020, 7:05pm UTC](https://forums.unrealengine.com/t/event-on-clicked-mesh-stops-working-when-i-minimize-the-game-or-give-alt-tab/474565/8 "2020-11-16T19:05:53Z")

</div>

I solved the problem by disabling the option on the input tab that was: use mouse to touch. By disabling this, the problem has been resolved.

 ![322242-fixed.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/d/bbd10f302eaa6ae449a4366526145c9a4f879a75.png)
