I've yet come across another problem, I need to know if a brick is touching the ground (aka the first brick at the bottom). I know how to check if it's a certain brick datablock, I just need to know if it's the first brick of the stack touching the ground and only if it touches the ground.
Any suggestions?