How to access another script's object

Hello,

Currently I have two scripts and I would like to access one of the variables in the second script. I know how to do this in c++ and c#, and I googled how to do this in typescript, but I haven’t found anything applicable to this in Zapworks. If someone could explain this to me, I would appreciate it greatly.

2 Likes

Check out Accessing exported functions and variables at the end of the page
Accessing exported functions and variables

Steve

4 Likes

Thank you, I don’t know how I overlooked this!

3 Likes

I did to. I had to ask as well.

Steve

3 Likes