#What do anchors do?
5 messages · Page 1 of 1 (latest)
It handles how the control node resizes and moves relative to the viewport/screen
There is a cheat sheet for common use cases, called "Layout",
if you choose "Full rect", it will pin the control node to cover the whole screen and resize along with it
"Center" - The control will remain in the middle of the screen, even if you resize your screen
Note: Anchors and margins are ignored, when the control have a container parent
Can you show an example of why you would want to change them
- If you want to pin a ui on a specific corner of the screen
- You can also use it on parent control nodes (Eg: Add an overlay gui, that covers another control node partially or full)
Do you have an example gui, that you're trying to achieve, so I can give a more relatable example?