Lua Filter Source Can't Get Parent Sceneitem

HisZd

New Member
I am trying to create a filter source that manipulates the parent sceneitem's visibility using timers.
I have successfully retrieved the parent source and scene, but when I try and use obs_scene_sceneitem_from_source(scene, source) I just get nil.
I will attach my script, but it is VERY messy and is still in testing.
 

Attachments

  • obs-source-timer.zip
    4.2 KB · Views: 11
Top