I want to make a custom rectangle function, and I want to base how it draws the rectangle on what the current rectMode is. Is it possible to get what rectMode the sketch is currently on? Something like
rectMode(CENTER) R = rectMode print(R)
would return CENTER or some associated number. If it’s not possible I have other options, but this would just make more sense. Thanks for any help!