mouseReleased(button);EventCalled when a mouse button is released.
Arguments
buttonThe released mouse button
In the following example, the circle's size increases when the user clicks the mouse.
size = 32;
function setup()
  createWindow(400, 400);
end
function draw()
  background(51);
  circle(mouseX, mouseY, size);
end
-- Set larger circle size
function mousePressed()
  size = 64;
end
-- Reset size
function mouseReleased()
  size = size + 6;
end