I’m making a menu for my game, and I’m trying to anchor the back button to the bottom left corner of the screen. I positioned it right in my editor, but then I open up the game and it’s in a weird spot clipping off the screen. Any ideas on what I might be missing?
My view from the editor (the button is in the position I want)
I fixed it! LocalLobby was the root node, so that wasn’t causing any issues, but I figured out that it was something to do with my script for the button (sorry for not posting that as well). Within the script for BackButton, I was setting the pivot_offset = size / 2 so that whenever I scaled the button, it would scale from the center. However, that seemed to be messing up the positioning once the game started up. After removing this line and setting the pivot offset manually in the editor, everything fixed itself and the button is no longer clipping. Thank you for the help!