if this used the function obs.obs_sceneitem_set_visible(sceneitem, false)
It would be the perfect script, I dont know how to program this. I just searched a little through the code.
this is using obs.obs_source_set_enabled(source, true) instead of items.
the function
obs.obs_sceneitem_set_visible(sceneitem, false)
removes the eye in the obs studio. is it possible to make a revision on this?
His suggestion is correct.
If the script can hide and show source by unckecking an eye icon this would give us chance to use OBS in and out transition effects