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"

Can't click UMG button's text area (Uniform Grid Panel)

I have an inventory system on the left side. Items in the inventory can be equipped via clicking. http://i.imgur.com/MqrCygX.jpg

However, when you mouse over the text in the UMG button (which is part of a Uniform Grid) it can't be pressed. Only the edges of the button can be pressed (where there isn't text).

Here is how it is set up:


Add child: http://i.imgur.com/g7tk0c9.png Set widget style: http://i.imgur.com/yVcZZnF.png

I have tried adding another child and setting that as the widget, which works, but then the whole inventory uniform panel gets messed up:


Here the items can be clicked through the text, but they are all on top of each other. I have tried many variations of this solution, but they all cause different problems.

Is there an easy solution to this issue? Or do I have to use the latter solution and find further fixes to those issues


Product Version: UE 4.15
more ▼

asked Aug 19 '17 at 08:49 AM in Using UE4

avatar image

3 3 4

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

1 answer: sort voted first

Use the Widget Reflector to See if there is something on top of your Button that is set to a Visibility Value that is Hit Test enabled (your Text could be blocking the trace from reaching the Button or some overlay you might have) I dont think the reasson is your grid itself since I used it multiple times myself with interactive stuff in it. In short if something is ontop of another Element it can block the mouse interaction to reach the element bellow.

more ▼

answered Aug 19 '17 at 09:13 AM

avatar image

7k 143 28 172

avatar image LucioMaximo Aug 19 '17 at 09:58 AM

Thank you very much. I wasn't aware of this debugging tool, it is very useful. Turns out that character render on the right was prioritised above the inventory but below the middle item slots. https://puu.sh/xdZjr/952882b99d.jpg

It was overlapping the majority of the boxes where the text starts. I moved the priority of the chacter render box below everything else and it is now hidden in the background and the text is clickable.

Thanks again.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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