Protecting UI editor from empty spreads to edit

I m wondering how i can protect my ImGUI Editor from crashing to black if there is no object to edit ( no selected spread):

i presume i could do this in GetSelectedFxSpread, but i have no idea to wich node to call to create a default black value

Thank you for your help !

Not sure if I follow, but maybe you’re looking for AvoidEmpty?

1 Like

Thank you @sebescudie ! I was on the wrong semantic!