x

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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Button click not working.

I am just starting out in unreal and whenever i click on the use button it doesn't work at all. I print some text just to see some output from the click. This is my hierarchy.alt text

This is the umg overallalt text

Basically i click on the bottom layer button for it to display the Vertical box with the rest of the buttons inside. But when i click on the Use1 button nothing happens.

Product Version: UE 4.21
Tags:
capture.png (10.1 kB)
capture.png (17.9 kB)
more ▼

asked Mar 15 '19 at 01:47 PM in Blueprint Scripting

avatar image

pabolo12345
3 1 1

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Make sure the containers housing buttons are set to Self Hit Test Invisible. Also, make sure that the text boxes are set to Hit Test Invisible. The buttons themselves should be set to Visible.

edit: taking a closer look at your hierarchy, I think I see the issue. You've used a button as a container - Inventory 1 - clicking a button does not tunnel through to the items below in the hierarchy as default. You've got options here:

  • do not use a button as a container, use a Self Hit Test Invisible border

  • set the button to Self Hit Test Invisible - defeats using a button in the first place

  • there are other option but they're too complex for something straightforward like this

more ▼

answered Mar 15 '19 at 03:57 PM

avatar image

Everynone
13.7k 74 25 57

(comments are locked)
10|2000 characters needed characters left
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