line crossing detection setup

line crossing detection setup