Change Z-Index with script

get, and set z-index of an object.
I do know that to get the z-index I’d need this script:

object._view.group._index

or… anything that ends with _index, I don’t know and I don’t know how to change it while it is being run.

Example File: The code (what I want), and the current workaround
Z Index 2-18-2020_7-47-17PM.wick (3.9 KB)

2 Likes