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"

[4.17] How to prevent a button's child from triggering the OnClicked Event, but still be visible?

Im have a button, that is layered ontop of another button. The lower button selects an actor, while the upper button triggers an action on that actor. There are certain situations in which I want the upper button to be "disabled" but still visible. Actually disabling the button removes interaction but when the player click the disabled upper button the mouse hit is sent to the the lower button triggering it's OnClick event.

This is not intuitive to the player, as one would expect the upper button(which as intended is still visible) to prevent clicking on the lower button. So I tried to set the upper button to "Self Hit Test Invisible" to prevent interaction, but then set the Image Icon it is using as a child to "Visible". The result was the upper button could successfully be clicked.

Why does a button's "Visible" child, trigger the "Self Hit Test Invisible" button?

Is there a way to prevent a button's child from triggering the OnClicked Event, but still be visible, without a bunch of custom scripting?

Product Version: Not Selected
more ▼

asked Oct 10 '18 at 04:33 PM in Blueprint Scripting

avatar image

423 47 52 76

(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