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"

How to make button dissappear when clicked?

Simply i know but forgot how to do it, i have this onclicked event and nothing wired to it atm, how do i get so when the button is clicked, it disappears.

Product Version: Not Selected
Tags:
more ▼

asked Dec 23 '14 at 08:14 PM in Using UE4

avatar image

KareemTheGod
12 7 10 12

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

1 answer: sort voted first

In the Event Graph, use the Set Visibility node and plug in the button. Leave the bool unchecked.

more ▼

answered Jan 01 '15 at 03:08 AM

avatar image

DG Gage
1.7k 62 31 129

avatar image KareemTheGod Jan 04 '15 at 07:51 PM

Hey thanks it worked, but when i set it to "hidden" the button disappear however, there's another button that goes along with it, which i dont want.

avatar image DG Gage Jan 04 '15 at 08:40 PM

You should be able to do the same with any of the components

avatar image KareemTheGod Jan 04 '15 at 08:47 PM

Yes i understand but what im asking is that i have 2 buttons one called "button_109" and the other "button_81" i did the set visibility for 109 but it effects the other button as well so when i click button_109 BOTH buttons disappear for some reason i just want button_109 to disappear

avatar image DG Gage Jan 04 '15 at 08:51 PM

Is the other button a child of the one you made disappear?

avatar image KareemTheGod Jan 04 '15 at 09:04 PM

I believe so when i go over to my widget and it shows both the buttons and i head over to graph and it only shows "OnClicked_109" nothing about the other button which im confused about

avatar image DG Gage Jan 04 '15 at 11:09 PM

Are both buttons available as object options on the left when in the event graph? You might just have to set your button to off on visible and the other one to on on visible

avatar image KareemTheGod Jan 05 '15 at 04:34 PM

Hello, here I finally got the screen shot, this is what im dealing with button_209 seems to effect button_81alt text

untitledbb.png (407.6 kB)
avatar image KareemTheGod Jan 05 '15 at 04:40 PM

Also only button_209 is in the event graph so thats the reason but why?

avatar image KareemTheGod Jan 05 '15 at 04:54 PM

lol i just figured it out, i had to add onclicked for the other button i did the same thing, set visibility but for some reason it does the same thing, i hit one button both disappear. I want just the one button to disappear not both!

(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