Really simple one that is making me scratch my head for some reason.
How do I add the current y coordinate of an object to a counter?
e.g: if the object moves up add 1 for every pixel it moves up. If the object moves down minus 1 for every pixel it moves down.
Anyone know the equation for this?
Thanks in advance.