Widget Components Hidden in Game still interacts with invisible state
Hi, I'm using recent UE4.18.2, and made some actor which have a widget component as a member.
I want these actor set hide completely, so conducted "Set Actor Hidden in Game" and also conducted "Set Hidden in Game" blueprint function for its widget component. As a result, The Actor is not seen, but still the widget component blocks the interaction. [On hovered] event and [On Clicked] event still operates though they are not seen.
How can I solve this? I wanna completely disable these widget components.
Some kind of guess I'm thinking of : Widget Component (IconPopUpImage) has "event dispatcher", and the owner Actor (IconPopUpImageVideo) bind event to it at BeginPlay. Is this can be a problem?
asked Dec 14 '17 at 07:09 AM in Bug Reports
Get the Component -> GetUserWidgetObject -> SetHidden.
This will force the 2d widget embedded in the component to become non-interactive. Untested but could/should work.
answered Dec 14 '17 at 08:13 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here