xxxxxxxxxx
let moveright = 0;
function setup (){
createCanvas (300,300);
}
function draw(){
background (255);
fill (255,0,0);
ellipse (moveright,150,150,150);
if (moveright >= 450) { //if moveright gets past canvas boundary on right
moveright = -100; //reset it
}
//Assignment Operator
moveright = moveright + 3;
} //close draw