Removing widgets

Is there a way to remove regular widgets from a dialog without having to rebuild the entire dialog?

Hi @tifye, one possibility is changing the visible property Aseprite - Api - Dialog to hide the widget:

dialog:modify{ id="mywidget",
               visible=false }

My script may be removing and adding in new widgets and not necessarily reusing the same ones. Unless maybe I can use some sort of widget pool :thinking: and reuse them that way :thinking: :face_with_raised_eyebrow: :thinking:

I’m trying to make a custom React renderer for Aseprite scripts as just a side project to learn.