Run the Julia code below, and it'll pop up a window with an image.
Select the window. Move the mouse around, and hit the f
key.
A red marker should appear.
I used the keyboard with the mouse because my application had several different features I wanted to pick out. You could adapt this to use the mouse buttons.