A ticket scanner will scan your ticket as you leave and then will rescan again at reentry.