Hi Rolf,
You can use the following function to hide all objects whose names start with a prefix in the current slide (including the master layout):
function hideChildObjects(parent, prefix) {
var children = parent.children;
for (var child of children) {
if (child.name().startsWith(prefix))
child.hide();
else
hideChildObjects(child, prefix);
}
}
//e.g.
hideChildObjects(prez.slide, 'NavLeft_');
Regards