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

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

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!

1 comment

0

Make sure your textbox is inside the frame

2 answers

✓ Accepted answer

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.

1 comment

0

thanks so much bro! It works now!

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)

1 comment

0

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

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