setVisible() for basic shapes
in
Programming Questions
•
3 years ago
Hi,
I saw the setVisible function for PShape but I wonder if there is a similar function if I want to set it on a rect().
The reason I want this is because I want a rectangle to act as a cover in a specific area on screen and I can choose to hide (rect visible = true) or unhide (rect visible =false). So basically the rectangle covers what is underneath it.
im trying to avoid making a PShape just for this .
Thanks
1