Is there a way to temporarily de-activate items in a collection without removing them from the collection? For instance, in Unity you can turn objects on and off by checking/unchecking the box next to their name in the inspector. I thought in Defold that maybe ‘hide objects’ was the equivalent, but it doesn’t seem to be, since the hidden objects are still in the game when I run it…
Have a look at enable/disable in the API ref - I think this is what you are looking for:
2 Likes
Thanks Alex, that is useful. I thought there might be a way to do it in the editor that I had missed - but I can see that it’s simple enough to do it in code.
There is a feature request for what you describe on Github. You can give it a thumbs up if it’s important to you, which helps give it priority.
1 Like
Cool, will do
1 Like