Create a new Scene State with Current Layer name
I'm doing a very basic script, but I can't for the life of me figure out how to do it. It's been a few years since I've been away from programing and I'm stuck.
I basically need my script to:
-Unhide the active layer. (done)
-Create a new Scene State (saving every property) with the name of the current Layer.
-Hide the active layer. (done)
-Make the layer below the active Layer.
And basically loop that until my very last layer, which I think I can figure out on my own. Thanks in advance. :)