I have a variable that takes a users selection with the following code. var userSelection = app.project.activeItem.selectedLayers;
I'd like this variable's array to change automatically if the user changes their selection in the composition. I'm not finding this in the documentation or online.
Thanks.