Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a textbutton or textbox etc. disappear when it's out of frame?

Asked by 3 years ago

I tried to use TweenSize for the frame when I click minimize, but I figured out that the textbox doesn't disappear like last time. I don't know why. if you guys know how to fix this please tell me because I really need it!

0
Make sure your textbox is inside the frame MattVSNNL 620 — 3y

2 answers

Log in to vote
0
Answered by 3 years ago

There is a thing called ClipDescendants. (in the frame properties) It will make all the text buttons boxes etc. go in the frame. If It goes out of the frame, it will make the portion out of the frame disappear. I hope this helped.

0
thanks so much bro! It works now! WINDOWS10XPRO 438 — 3y
Ad
Log in to vote
0
Answered by 3 years ago

I don't really get what you are saying, but the least I can help you with is to click on a GUI and make it visible, then click the GUI again to make it invisible.

script.Parent.MouseButton1Click:Connect(function()
    if script.Parent.Parent.Background.Visible == false then
        script.Parent.Parent.Background.Visible = true
    else
        script.Parent.Parent.Background.Visible = false

    end
end)

0
I don't want it to be like that. It's basically a minimize button, but thanks for the fast respond. WINDOWS10XPRO 438 — 3y

Answer this question