How to access object by using it's name in string format?

If all the variables you need are of int type you can use an IntDict container to store them:

If they’re of mixed types you may try out a JSONObject like this post below:

1 Like