int rectY = 400;
int rectX = 100;
void setup () {
size (500, 350);
}
void draw() {
background (0);
fill(255, 100, 100);
rect(rectX, rectY, 100, 100);
}
this is my code, I dont know what I did wrong. Probably a really dumb mistake.
int rectY = 400;
int rectX = 100;
void setup () {
size (500, 350);
}
void draw() {
background (0);
fill(255, 100, 100);
rect(rectX, rectY, 100, 100);
}
this is my code, I dont know what I did wrong. Probably a really dumb mistake.
nvm it worked when I changed the integers name.