Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to hide this button under a tweened frame?

So i'm tweening a frame that has a button in it and i want the button to be hidden once the frame it's in goes over it. The thing is it won't hide the button at all and i think abruptly hiding the button wouldn't look nice. Here is a Video

2 comments

0

You could detect when the sliding frame is the same height as the two buttons and progressively scale the second button down whilst transparenting it out to make it "fade out".

0

This Seemed to work thanks

1 answer

Make the buttons ZIndex to -1 this will make this go under all other gui components that have a higher one. If you ever want to reset it, change it back to 1. Although you might have some problems because the gui is transparent.

1 comment

0

I tried this and it didn't work but good try anyways

This discussion is preserved as it was. New answers, comments, and votes are closed.