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

2D Collision, How to Stop a gui from being dragged out of a frame?

Asked by 6 years ago

I am trying to keep a draggable Button inside of an frame. i have tried every thing i can think of absolute position to vector2. I even read this article http://wiki.roblox.com/index.php?title=2D_Collision_Detection. nothing seems to be working i'd really appreciate if i could get some help.

0
i have bean trying to figure the out for 3 weeks now TheScriptKing 102 — 6y
0
You would need the absolute size of the frame and the absolute size of the button User#5423 17 — 6y
0
Wait..So.. you want the button to not be dragged from out of the frame? greatneil80 2647 — 6y
0
yes that is what i am trying to do TheScriptKing 102 — 6y

Answer this question