[SOLVED] Programmatically alter scene in Editor mode


I’m wondering if it is possible to programmatically alter the scene in the editor - the reason is that I’ll have around 100 objects with given positions, but I’ll need to slightly adjust the position of several of them according to the rest of the scene.
So I was thinking, if I can make a script that would add these objects to the scene hierarchy in Editor mode with the given position, so I can then easily use the editor to adjust the position.

Thank you.


Sorry - I did not find the Scripting the PlayCanvas Editor on the first few searches.

1 Like