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.

5 comments

0

i have bean trying to figure the out for 3 weeks now

0

You would need the absolute size of the frame and the absolute size of the button

0

Wait..So.. you want the button to not be dragged from out of the frame?

0

yes that is what i am trying to do