Changing gui's content using an editor script

Hi all, I’m pretty new to lua programing and found myself stuck with something.
I’m trying to create an editor script that will change the gui content (adding a texture atlas to a gui for example) but unfortunately with no luck so far.
Does anyone managed to do something similar at the past and have some knowledge to share?
Thanks!

If you are new to editor scripts then I suggest that you study the editor scripts by Jerakin:

The scripts do some pretty advanced stuff and should get you started.

So you are new to Lua and Defold? Are you playing with editor scripts to learn or are you trying to solve a real life problem?

Thanks a lot! I will go over it :slight_smile:
For now I’m mostly trying to learn how things are working and what kind of tools and automations it is possible to create in Defold :slight_smile:

2 Likes