Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

3d UMG Widgets Highlight on Hover but do not Register Click Event.

Hey guys, I created a 3d Widget following this guide https://docs.unrealengine.com/latest/INT/Engine/UMG/HowTo/Create3DWidgets/ Then I found out I needed to use a Widget Interaction on my Firstpersoncharacter so I added it, and went through and changed the values to Input from mouse and everything. I Also have game mode for both game and ui and still cant get mouse button clicks to work. Each button will highlight with hover, But will not change to red on click. I set up a print string that uses "Get Hovered Widget Component" And even though each button highlights, when i click it sends me the name of the widget Component But not the buttons inside the widget. So the Widget recognizes mouse events, But not the buttons inside the widget. I cant seem to figure out how to get Buttons from inside the widget component.

The only way around this I have found is to make a bunch of Widgets with only a single button in it, then take all the widgets and add them as a component in my Widget blueprint, and then a click on the widget component makes brings me the right button, but still doesn't highlight on click. so i'm referencing the whole component and not the contents of the component. While doing it this way does work, I Cant set texts to change or anything from the widget, and terminals in my game i want to turn off or on, so this makes it even more difficult as i have to have a massive amount of UI blueprints to display just visuals while i work in blue print to actually make the computer do what I want.

I just feel like this isn't the right way to go about it. Maybe I'm missing something simple. Ive looked all over the forum and internet scouring for a solution that Isn't so weird.

TLDR, How do I get the Mouse click to register a click on buttons inside a widget actor blueprint?

Product Version: UE 4.14
more ▼

asked Jan 25 '17 at 09:18 PM in Blueprint Scripting

avatar image

11 1 1

avatar image Grubzyy Apr 14 '17 at 05:13 PM

Bump! Im having the same problem, does anyone have a solution for this?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question