How can I make a minimize like this?

  1. What do you want to achieve? I want to make a minimize like this (not mine)

  2. What is the issue? Well, the elements scale with the UI so I can’t do what I’m looking for.

  3. What solutions have you tried so far? I found a post about this on the dev forums but it didn’t help me.

I’ve been looking at this for 2 days now, please help me!

  • Have a parent container with clips descendants enabled
  • Have another container inside that parent container whose size is only based on the x axis of the parent container (Frame.SizeContraint = Enum.SizeConstraint.RelativeXX) and put your ui in that container
  • Set the Y value size of the parent container to the y value size of the other container. Then just tween the size of the parent container

ezgif.com-gif-maker (9)

ClipsDescendants Example.rbxl (35.2 KB)

tl;dr;
Look into the SizeConstraint property

1 Like

Can’t you use the tween method which comes with GUI instances and just make it smaller.

Thanks! That really helped me out alot

1 Like