View Single Post
Old 05-23-2019, 10:26 AM   #5
Sonorityscape
Human being with feelings
 
Sonorityscape's Avatar
 
Join Date: Aug 2016
Posts: 35
Default

Quote:
Originally Posted by X-Raym View Post
What you need is to first store items in a table and then used these stored items for your moving loop. Else, it will break cause order of selected items changes a each iteration.

Here is a template I made:
https://github.com/ReaTeam/ReaScript...%20editing.lua

I planned to made a video reascript on this exact subject but I didnt made it so far.

My scripts are open source so you can analyse their code (even premium ones).
Haha, I just started a new script 5 minutes ago with a table to better store the items. Like you said, when the items change position, it was messing everything up. Thank you for the link!
Sonorityscape is offline   Reply With Quote