Question
How to Prevent Unintended Modifications to Variables in After Effects Scripting
I have a variable defined as aaa= layer.property("Source Text").value;.
To avoid modifying aaaa during subsequent processing, I created another variable called bbb:
var bbb = aaa;However, when I modify bbb as follows:
bbb.text = ccc.text;
I noticed that aaa.text gets modified as well.
How can I resolve this issue?
