How come I keep getting the message, Invalid Value? I have a textbox and its type is number and it also has an instance variable. I want to set the numbers entered in the textbox as the instance variable value but each time I try to I get the message: Invalid value for "Value". You can not set a string to the number variable '(name of variable)' - use int() or float() around the expression to convert. I set the code to: Set Value for (Variable Name) to (object_name).Text but that does not work. Also, I do not want to change the type of the textbox because that would screw up my game. Help would be greatly appreciated!