I'm trying to move an object slowly through the world. I tried to achieve this by having a counter and only moving the object 1 pixel when the counter hits a specific value (then reseting the counter and so on), for some reason it doesn't work at all, no matter how high I set the counter limit.
If I also print the counter value in console, then the method works as intended (slowing down), but if not the method works like nothing is slowing it down.
Greenfoot delay seems like an alternative, but that halts the entire program whereas I only want to slow that that specific method.

