# My 3D Widget Interaction component does not work anymore.

**URL:** <https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689>\
**Category:** UI\
**Tags:** interaction, unreal-engine, Widget, question\
**Created:** [January 18, 2020, 12:14am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689 "2020-01-18T00:14:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 12:14am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/1 "2020-01-18T00:14:56Z")

</div>

So that is exactly the case. A while ago, I made an interactive 3D widget for a Chest Inventory I have in my game and worked a charm. I left it and moved to continue making my game until I had to use a 3D widget again. It didn’t work, and as I realized, my Chest Inventory didn’t either.

I tried making a 3D widget in a clean project, and it works. I reverted everything I had changed by looking at the clean project. And beyond that, I also tried everything. Possession number, the way the player spawns in the level, different numbers in user index, staying away from coffee, and nothing really worked. I am desperate, as my game is in a pretty advanced state to just scrap it and start over, a practice that should never be the solution to anything.

Please somebody help me? Whatever it is that got me stuck, it’s not within the Widget Interaction settings…

---

<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:** [January 18, 2020, 12:39am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/2 "2020-01-18T00:39:41Z")

</div>

- check the Widget Component’s _Receive Hardware Input_ flag; that’s assuming the widget lives in the world space (rather than screen space)
- check whether there is another widget on top that might be stealing focus (you can use _Widget Reflector_ for this)
- ensure you’re not switching to _Game Only_ input mode (or switching too early)

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 12:57am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/3 "2020-01-18T00:57:30Z")

</div>

The Input flag is unchecked, just like in the clean project that the 3D Widget works. I set the Widget’s Z Order to 1000 as I remember I may have tweaked it in some widgets, but certainly not in such a high number. As for the Game Mode, instead of trying anything in the big project, I went to the clean one and set the Mode to Game Only on Begin Play and the 3D Widget STILL worked. I am still looking into it, although I don’t know what more I can do.

---

<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:** [January 18, 2020, 1:13am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/4 "2020-01-18T01:13:56Z")

</div>

> I set the Widget’s Z Order to 1000 as  
> I remember I may have tweaked it in  
> some widgets

Afair, the widgets created by widget component live in a separate layer, the Z order does not affect them the same way. I might be wrong here, though.

Do try the widget reflector: Window → Developer Tools → Widget Reflector

 ![295438-annotation-2020-01-18-011102.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/a/7aae6e300306d3e6e21af9a89eeb814fee22637d.png)

Run the project, hit the highlighted button in the upper left and then mouse over the viewport, the light grey horizontal highlight will show what you’re mousing over. Saved my bacon many times.

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 1:23am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/5 "2020-01-18T01:23:24Z")

</div>

Ok, I did that now. I admit I really don’t know how to read it, I see nothing familiar in those lists, but what’s for sure is, nothing changes on the Widget Reflector window when I hover over my 3D widget. ☹

---

<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:** [January 18, 2020, 1:34am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/6 "2020-01-18T01:34:50Z")

</div>

> nothing changes on the Widget  
> Reflector window when I hover over my  
> 3D widget.

Can you drop a screenshot of that - when the cursor is over the element that you’re supposed to interact with.

* * *

Generally speaking you should be getting _at least_ the name of the actor that owns the component; or the exact name of the widget element providing it’s set to something else than _Not Hit-Testable_.

You can also double check the 2d widget hierarchy to ensure that at least 1 element has its _Visibility_ set to _Visible_. Grasping at straws here a bit.

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 1:52am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/7 "2020-01-18T01:52:13Z")

</div>

I made a video, I hope it helps!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/a/44a46ed922b9d4e0d6aca519cba41044491f9d6e.jpeg "Desktop 2020 01 18 03 46 27 02") ](https://www.youtube.com/watch?v=wnckHgRh3pg)

---

<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:** [January 18, 2020, 2:11am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/8 "2020-01-18T02:11:10Z")

</div>

So you’re hitting the viewport directly, meaning no other rogue widgets are in the way - at least we’ve eliminated that. And the widget component is drawing in world space (now that I’ve seen it) - meaning widget reflector will be useless from now on; still, it served its purpose.

I never worked with _Widget Interaction_ component so I must take your word for it being set up correctly here.

How are the collision settings on the Widget Component? By default it’s UI, blocking Visibility.

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 2:18am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/9 "2020-01-18T02:18:10Z")

</div>

![295461-3d-widgetactor.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/9/7a9951fcf3251990478368c2107532e966e92940.jpeg)

Here are the component and actor.

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 2:22am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/10 "2020-01-18T02:22:48Z")

</div>

Collision set to UI.

---

<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:** [January 18, 2020, 2:29am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/11 "2020-01-18T02:29:12Z")

</div>

We can’t see the collision settings here, they’re a tad lower, just below Physics tab.

[edit]

> Collision set to UI.

got it

* * *

I got it to work by having the _Widget Component_ blocking Visibility and _Tracing_ for Visibility in the _Widget Interaction_.

Can you confirm that the 2d widget hierarchy has a clear path. For example:

- [root] not hit-testable (self only)
- [canvas] not hit-testable (self only)
- [button] visible  
- [text block] not hit-testable (self and all children)

[edit] - corrected the last one

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 2:40am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/12 "2020-01-18T02:40:22Z")

</div>

Collision set to UI, and here’s a photo of the options for Text Block. It doesn’t work when it’s in visible or the Not Hit Self and Children. As you see there is no option for Hit-Testable(self and all children). I have done exactly what you suggest, and all I can think of now is the numerous complaints I read from various people about the 3D widget system. I guess I’ll have to change my gameplay after all, even though 3D widgets are crucial. If it was something fixable I guess we would have nailed it by now. Sad day today for my game!

 ![295462-textblockoptions.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/d/73d1851afeb9a79e87d8af5faba3c4340164ce94.jpeg)

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 2:43am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/13 "2020-01-18T02:43:39Z")

</div>

I even removed the text completely, and still the same. The 3D widget is only visible to our eyes…

---

<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:** [January 18, 2020, 2:48am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/14 "2020-01-18T02:48:07Z")

</div>

My bad, I made a small mistake, the text block should be not hit testable, obviously - you want to interact with the button, not the text:

- [root] not hit-testable (self only)
- [canvas] not hit-testable (self only)
- [button] visible  
- [text block] not hit-testable (self and all children)

Can you confirm the elements above the button are set to _Not Hit-Testable (self only)_?

Seems to be working rather well out of the box:

![295471-annotation-2020-01-18-025815.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/c/0/2c073946a1934825767bf7d1f72adb6b9213081b.png)

And it’s only your project that shows this unwanted behaviour? When you drop it into a clean project the interaction works ok?

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 2:59am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/15 "2020-01-18T02:59:54Z")

</div>

Yes, that is exactly how things are, minus the now-deleted text block. Button visible, root and canvas not-hit.

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 3:09am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/16 "2020-01-18T03:09:20Z")

</div>

Yes, it works right away on a clean project! First thing I tested.

---

<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:** [January 18, 2020, 3:11am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/17 "2020-01-18T03:11:40Z")

</div>

The root and the canvas might as well be _Visible_, does not matter here much for as long as they’re **not** blocking tunnelling by being _Not Hit-Testable (self and all children)_

Nothing else comes to mind at this point. A checklist in case something else was missed:

- block _Visibility_ channel on the _Widget Component_ and set collision to at least _Query Only_ (UI mode defaults to this)
- make sure the _Interaction Distance_ is long enough and _Enable Hit Testing_ is true
- ensure the 2d widget elements can tunnel through and the interactive element (the button) is _Visible_

If I can think of anything else that might be interfering with this, I’ll update the thread.

---

<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:** [January 18, 2020, 3:14am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/18 "2020-01-18T03:14:14Z")

</div>

Perhaps you could delete the widget component and its widget, create brand new ones and then try again. The almost proverbial switching something **off** & **on** works surprisingly well at times. And it’s surely easier than redoing the entire project.

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 4:48am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/19 "2020-01-18T04:48:12Z")

</div>

I tried that too. I believe it’s either broken in the first-person character, or the whole project. I will test it with a new first-person character and see where that goes. I really can’t wrap my head around what could be the problem.

---

<div class="post-metadata">

**Author:** ![NtinosFerret](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ntinosferret/32/984640_2.png) [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Post date:** [January 18, 2020, 5:48am UTC](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689/20 "2020-01-18T05:48:30Z")

</div>

UPDATE: I made a NEW first-person character, STILL the same behavior. Is it possible that any of the UI widgets may be blocking the 3D widget? I believe that is impossible and that’s why we have the interaction component.

[Next page](https://forums.unrealengine.com/t/my-3d-widget-interaction-component-does-not-work-anymore/460689.md?page=2)
