How to access another script's object


#1

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

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

Steve


#3

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


#4

I did to. I had to ask as well.

Steve