How do I delete/remove a global layer just from a single layout?

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Globals 2.0
$3.99 USD
Globals 2.0 stores and group variables. You can also load and save data (variables) from/to JSON files.
  • Hi,

    Title!

    When I delete the layer in the desired layout, it deletes it from all other layouts as well... How do I delete/remove it from just a single layout?

    Thanks!

  • It's simple, just change the layer name so that it doesn't match the name of the global layer.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Keep in mind that global layers have a "source" layout. Which is the initial layout you set the layer global in. If you delete the layer from the source layout then it and all the instances on it are 100% gone. But if you delete it from a different layout, not the source, then it will simply be removed rather than deleted.

    So if you want to delete it from the source layout then you will have to do some shifting around in order to set a new source layout for that global layer.

    A common practice is to create a new layout called "globalUI", or "globalLayers", something to that effect. Which becomes the source for global layers so you don't run into that issue in the future.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)