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"

UMG question: How to create a button with 3 buttons inside?

Hi all,

I want to create a button with 3 buttons inside. Below is an image and a gif to what it looks like and how it works. alt text alt text

I've been watching tutorials to find a way to approach this, but I still couldn't find a way to put a button on top of another button. Does anyone know how to do it? Thanks in advance!

Product Version: UE 4.21
button.gif (205.0 kB)
more ▼

asked Apr 04 '19 at 03:39 PM in Using UE4

avatar image

29 3 3 7

avatar image MrMcKvarz Apr 04 '19 at 04:25 PM

You can try to use overlays.

avatar image fortsts Apr 04 '19 at 06:10 PM

Thank you so much for your reply. I already tried overlay. But it still doesn't overlap on top of other components for some reason. I am desperate...

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

1 answer: sort voted first

You don't need overlays, you can simply have the parent button in the form of a Canvas panel with inside of it:

  • Parent button

  • Button1

  • Button2

Hierarchy reference

I'm gonna attach an image of a basic setup and the widget file itself so you can have a reference. After a while, you will get used to UMG and it will be such a great breeze :)

Let me know if this answers your question.

Widget file link.

capture.png (35.3 kB)
more ▼

answered Apr 04 '19 at 06:27 PM

avatar image

106 1 4 8

avatar image fortsts Apr 04 '19 at 06:31 PM

Thank you so much! This is exactly what I want! :)

avatar image LatFoued Apr 04 '19 at 06:35 PM

Glad to have helped :D

(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