How do I create a tile that changes its appearance on right-click, like the vanilla lever?

GurgleNurgle

Terrarian
Hey guys.
As the title says, I'm trying to implement a tile that once it is placed in the world, can be right-clicked to change its visual appearance, like the lever does in vanilla Terraria. Does anybody have experience with this sort of thing?
 
Back
Top Bottom