- Home /
UI - clamp the movement of a panel
Currently, I can drag my panel around. How can I restrict the movement between another panel?
Basically, I've got two panels. One panel is on top of the other panel. I can move the top panel around. Now I'd like to clamp or stop movement if the mouse position is over the other panel.
If somethings not clear, I can add more information
Comment
Your answer
Follow this Question
Related Questions
Clamp UI Image to Canvas 0 Answers
Scaling Canvas (or panel) and then trying to move a gameobject (child) attached to it 1 Answer
2D Collider/Trigger on Canvas 2 Answers
How to hide UI canvas between scenes,UI Panel staying visible between scenes 1 Answer
Display loaded UI Image in Container with native size 0 Answers