I'm trying to find a way to check if a variable is larger than another, I've searched all of the internet and the Processing website, but can't find anything. Can someone help please?
EDIT: the > symbol checks it?
It comes up with an error:
unexpected token: if.
if (x > room_width){
room_width += 320;
}
It's in the void draw, I'm trying to increase the size of the window, if the ellipse's x is larger then the room_width.