Please help for very basic coding task

It keeps escaping me on how to do the following
void setup(){

rect (width/2,height/2, ? , random(30,80));

I need to make the figures body width twice the randomized body height, I don’t know how though.

actually the problem is solved now, my dumb self forgot to use variables for rectheight

1 Like

You’re not dumb, we all do that.

1 Like