- Home /
How do I set the pivot to the exact position as parent object?
I am trying to make a UI child element scale uniformly to its parent and also retaining the exact positioning relative to its parent. It seems the solution is if I place the child's pivot to the exact pivot position of its parent and anchors are at the corner of the child UI. The problem is I can't make the child's snap to the exact position of its parent.
Pivot doesn't seem to snap to grid, maybe my settings for snap are wrong?
I can't put it exactly on the parent's pivot, is a way in editor that I can do that?
Maybe there's an easier way to do that, like the anchor presets?
Your answer
Follow this Question
Related Questions
How can I make nested UI Image elements the same transparency? 1 Answer
How do I set rect pivot? 2 Answers
Change RectTransform pivot without changing position 0 Answers
Can't change the pivot of a UI element 4 Answers
How can a child element of Vertical Layout Group fit its Parent in Unity? 1 Answer