I want to hide/show certain objects in an overlay collection. Getting every object in a list and using setVisible(False) does not work.
Is there a way to get an individual object or objects in a list in the overlay collection rather than using the collection actuator to hide them?
for obj in bpy.data.collections['CollectionName'].objects:
kx_obj = scene.getGameObjectFromObject(obj)
kx_obj.visible = True
Never mind. I solved it myself. The object.visible command does work. Only add the overlay scene once, or it will not work for the subsequent overlays, and ensure your overlay is visible, not hidden.