Hello, I am currently watching a tutorial for gamemaker, and when it comes to textboxes and how to use them, they introduce scripts.
I know a bit of programming, and what i see in the tutorial is that they use variables create in the "create" event in a script, and when they use it it works perfectly. I think the error has to do with that, but i didn't manage to understand it better. In the tutorial, they don't have the message saying " https://help.yoyogames.com/hc/en-us/articles/360005277377 for more info", so i assumed they were in an older version than 2.3
Here is the error, and the script that caused it just behind. I think the problem is about "y" can't be called in the script because it has to do with the object and the script is independant, but I can't explain why or what to do.
Any help would be very appreciated! thanks
I know a bit of programming, and what i see in the tutorial is that they use variables create in the "create" event in a script, and when they use it it works perfectly. I think the error has to do with that, but i didn't manage to understand it better. In the tutorial, they don't have the message saying " https://help.yoyogames.com/hc/en-us/articles/360005277377 for more info", so i assumed they were in an older version than 2.3
Here is the error, and the script that caused it just behind. I think the problem is about "y" can't be called in the script because it has to do with the object and the script is independant, but I can't explain why or what to do.
Any help would be very appreciated! thanks