L&Mproducer
New Member
I have a scene that contains a bunch of sources (dozens and dozens). Our stream deck has buttons to hide/show each of these. I'm being asked to make an "undo" button that hides the last source shown, then the second last, then the third last, etc. (just like an UNDO button in software does)
I know I could use a data structure to keep a list of scenes that have been SHOWN in the order they have been shown, and when the UNDO button is clicked, it pops the last source off the list and then re-hides it.
The problem is that I don't know how to do this within Advanced Scene Switcher.
I don't want to go making dozens and dozens of conditions for each source, and have to remember to update it each time I change my sources.
Also I see lots of references to indexes (like which index a source is within a scene) but no way to loop through these indexes to do anything super valueable. I feel like I'm missing something.
I know I could use a data structure to keep a list of scenes that have been SHOWN in the order they have been shown, and when the UNDO button is clicked, it pops the last source off the list and then re-hides it.
The problem is that I don't know how to do this within Advanced Scene Switcher.
I don't want to go making dozens and dozens of conditions for each source, and have to remember to update it each time I change my sources.
Also I see lots of references to indexes (like which index a source is within a scene) but no way to loop through these indexes to do anything super valueable. I feel like I'm missing something.