# Rect not showing

**URL:** <https://discourse.processing.org/t/rect-not-showing/32092>\
**Category:** Coding Questions\
**Created:** [September 4, 2021, 6:16pm UTC](https://discourse.processing.org/t/rect-not-showing/32092 "2021-09-04T18:16:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kenga123456](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@Kenga123456](https://discourse.processing.org/u/Kenga123456)\
**Post date:** [September 4, 2021, 6:16pm UTC](https://discourse.processing.org/t/rect-not-showing/32092/1 "2021-09-04T18:16:44Z")

</div>

```auto

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.

---

<div class="post-metadata">

**Author:** ![Kenga123456](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@Kenga123456](https://discourse.processing.org/u/Kenga123456)\
**Post date:** [September 4, 2021, 6:18pm UTC](https://discourse.processing.org/t/rect-not-showing/32092/2 "2021-09-04T18:18:25Z")

</div>

nvm it worked when I changed the integers name.
