Gosu makes finding the mouse position easy.
Window has two parameters,
mouse_y which you can poll to find the location of the mouse.
The one thing to note is that if you want to show the cursor, you’ll want to override the
Window#needs_cursor? method and have it return “true”.