I have a Function that creates an object in X=200 Y=70
How can I add 100 px to Y everey time its created
Make to local variables and make them static. Name them something like PosX and PosY. Set PosX to 200 and PosY to 70. Create your object at PosX, PosY location, then add 100 to PosX and PosY.
Develop games in your browser. Powerful, performant & highly capable.
Got it ... THANKS