Bunny on/off (need to remove transparencies)

Pseudo code:
def on_click(object):
if object == false:
return bunny_off
elif object == true:
return bunny_on