Demonstration Project - Creating and using a clickable sprite. When the lamp is clicked, the room darkens. Clicking anywhere else causes the room to brighten.
Image from boldoutline.in