Set text to variable

Hello, I had a text which sometimes to debug I would make it display a variable but now I have no idea how to do that, I try typing variable in the expression but weird stuff about arrays is all I see

Old system still works
So if you have Scene variable called MyTextVar
You change text to
ToString(Variable(MyTextVar))
And if that variable is a string you change it to
VariableString(MyTextVar)

And now
Object variable
ToString(ObjectName.Variable(MyTextVar))
Or
ObjectName.VariableString(MyTextVar)

Global
ToString(GlobalVariable(MyTextVar))
Or
GlobalVariableString(MyTextVar)

Where i am not sure how new system address it
But i think it was just
ToString(Here you just need to find your var from the list)
And if its string var you just need to find it on your list of variables

1 Like