Piston Tile Number


I am trying to make a piston tile toggle but I am having issues with figuring out what tile id was pushed. I was hoping not to have to create a action for each tile I have but to have 1 action that will toggle no matter what tile was clicked.



Check out some of these example pistons as some are using the toggle function.