Is it possible to move a collection during runtime in script? I figure surely it has to be (it’s just a transform in the hierarchy?) and I’m just missing something. I’m still quite new to Defold so it’s entirely possible that I’m making a false assumption, if that’s the case, how come it’s setup the way it is?
No, you can’t. Collections don’t exist at runtime, only the content inside them. If you need to transform a hierarchy, use the “set_parent” message to build a scene graph hierarchy of game objects.
Major aha-moment here, thank you! Checked out both those pages previously, obviously I didn’t read them properly enough. It explains a lot, like the name. Thanks!