Event Window.MouseUp (gb.sdl)

Event MouseUp ( )

Raised when a mouse button is depressed while the cursor is inside the window.

You get information about the mouse with the Mouse class.