I've got a very simple GUI in my game. It's just a panel on the left side of the game screen, covering about one sixth of the screen. I want to be able to determine how wide the panel is, and I want it in the the same coordinates that I use for the game, so that I can stop the game from scrolling too far (the scrolling should stop once the left edge of the level reaches the right edge of the panel).
It's probably pretty simple, but I've yet to get it to work. Any help would be appreciated!