newt
Uh, what are you mean "z"?
In my cubeTx plugin, yes, z is one of the parameter of the chess (block) -- each chess has (x,y,z) parameter stored in board plugin, and there has expression:UID2LZ to get z index from (instance's) uid.
CubeTx is very similar with squareTx, I just add an offset by z index.