"o is not defined"
What I put this code in:
var Shooting_Star =function() {
draw = function() {
background(29, 40, 115);
fill(255, 242, 0);
ellipse(xPos, yPos, 10, 10);
xPos +=2;
yPos +=2;
};
};
I got the problem, "o is not defined." I don't know what the problem is. It won't show me where the problem is. I labeled everything correctly and still can't find the problem.
Please sign in to leave a comment.