I need to change sprites on collision.

When my characters collides with a lever i’ve made, I want the lever to change sprites into another lever to make it look like its on. I cant figure out how to do this. I also want it to change a different sprite to make my locked door to appear unlocked once the lever is turned on.

Do animations

You want something like this?
http://flowlab.io/game/view/226964