Why can't I delete a scene item ?
What I miss ?
What I miss ?
Code:
obs = obslua
name = "image"
function script_load(settings)
local src = obs.obs_get_source_by_name(name)
local scene = obs.obs_scene_from_source(src)
local sceneItem = obs.obs_scene_find_source(scene, source)
obs.obs_sceneitem_remove(sceneItem)
end