I want to dynamically call a variable in a custom function. I tried:
func custom_function():
var one_test: 0
var two_test: 0
var three_test: 0
print(some_global_variable + "_test") #would print : one_test
var current = get(some_global_variable + "_test")
print(current) #Prints: Null
get()
just returns null
. Is there a way to call the variables within the method dynamically?