Example to show differential handling of different mouse buttons on cursor events.
Click on cube to change color: