Hello, after figuring out my first bit of code I've decided to give it another go. This time my goal is to delete the compass from 2D mode, it hardly seems necessary considering the always north orientation of the map. Does anyone know of a variable that indicates whether we're in 2D or 3D mode? I also intend to use it to shift all the boxes on that side of the screen up one when in 2d mode.
EDIT: I found the 2d/3d nav buttons, but there only visiblemodel is "!ui.vFullScreenCockpit" I was expecting to find an additional one that stated only to show the 3d one in 2d mode and vice versa. Does anyone know how the system knows to show the 2d button in 3d mode and the 3d button in 2d mode?
EDIT 2: Looks like I found it, this was inside a script, but I'm not sure how it helps me. Maybe I'll look at trying to turn the compass into a button?