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.
COMMUNITY QUESTION
2D Collision, How to Stop a gui from being dragged out of a frame?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
i have bean trying to figure the out for 3 weeks now
You would need the absolute size of the frame and the absolute size of the button
http://wiki.roblox.com/index.php?title=2D_Collision_Detection
Wait..So.. you want the button to not be dragged from out of the frame?
yes that is what i am trying to do