The Instance Variable has to be (Type = Txt) to be used with a string, at the moment you have the Instance Variable as = Number,
However, you can still use it with an Instance variable = Number as longs you convert it to a Number with the Expression "Int"
Example:
int(tokenat(text, 0, "|"))
The only problem with this is that it will round the Number and you will lose the (.4)
Variable1 is of type int and the assignment can be done correctly.
Why does not the same thing happen with the sprite instance variable?