I am doing some basic operation. I create 2 objects and the firt one has an instance variable with a value on it. In the events sheet, i create an event to compare value of the instance variable and it seems doesnt match. What i am doing wrong?
Develop games in your browser. Powerful, performant & highly capable.
What type of variable is your "number" instance variable?
If it's a number, and you're trying to set it to a string ("left" or "right"), that will cause trouble.
it is type string.
Ok good! So what's the error you're seeing? You might have to share your project, that's usually faster to get another opinion.