I am starting out with GDevelop by doing the Geometry Monster tutorial.
When implementing touch/mouse control the x position of the monster is compared with the x position of the mouse cursor.
That works fine for movement to the right.
For the other direction however it doesn’t work as well. There is a gap to the left edge of the screen. As I am using a low resolution (176 x 320) it is quite noticeable.
Instead of comparing the mouseX with the x position of the monster, in that case I’d like to compare it to the width of the monster.
But I can’t get it to work.
Using the condition ‘value of an object’s variable’ and putting in Width or Monster.Width() didn’t help.
How could I get this to work?
Please explain like I’m five if necessary.