I know this has already been discussed but somehow I still dont get it completely.
I read this post
and made this test
variable_confusion.wick (1.7 KB)
variable foo is defined inside clip “clipA” as a property of the clip object
this.foo=“I am foo”;
How is I can see it from project level ?
mytext.setText(foo); // ???
I expected to have to write
mytext.setText(clipA.foo);
also how do I target a parent variable/property from inside a child clip?
let’s say I am in clipB that is inside clipA
How do I access clipA.foo ?
variables set in default scripts have different scope (or should I say context) from variables set inside clip frames?