• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

How to turn a BGL on and off

Hey guys,

I am looking for a way to be able to turn a scenery object BGL on and off with a keystroke or a joystick button. I have two objects that I would like to control the visibility on and off and I hope there is a way to do this. Can someone please point me in the right direction?

Thank you,
Tom Mihelich


Staff member
FSDevConf team
Resource contributor

You can't do this easily. Are you using FSX, then you can probably do something if placed through SimConnect. There are modules for placement with SimConnect, for example SODE. But I'm not sure if they support mapping a button to the visibility of an object.

I've been using SODE and you can have a BGL appear or disappear, However you can not map it to a button or keypress. SODE has its own window (a little like the ATC window), you can add your model to it externally using an XML file, this is used by SODE to enter the model (which has to be a simobject) into FSX, so when you bring up the SODE window in FSX in the list would be for example 1. Show/hide building01. Theres a little more to it than that but it is possibile in FSX.