If it's like the tip sensor on a GSXR, it's a big ball bearing that rolls to make contact if it's on its side and it needs to be mounted pretty level, but plus or minus a few degrees should not matter. The way they usually work is they cut the fuel supply by cutting off power to the pump.