I wanted to assign an instance variable to the touch feature, but I guess it doesn't exist or I couldn't find it. Anyone have any knowledge on this?
Develop games in your browser. Powerful, performant & highly capable.
What are you trying to achieve?
There is a button, I have assigned a value to the button. I want the value in the button to be equal to the value in the touch feature so that I press the button.
You would compare to for example a global variable, the touch is not an object where you can add instance variables.
Okay. Thank you.