class Handle { float x, y; float w; boolean dragging = false; color col; String shape; Handle( float x, float y, float sz, color col, String shape ) { this.x = x; this.y = y; w = sz; this.col = col; this.shape = shape; } void drag() { dragging = ( mousePressed && mouseX>x && mouseXy && mouseY