it was to click when a metal object passed in between the magnets.
(it; was; to click when a metal object passed in between the magnets) (a metal object; passed in; )
it a metal object
was passed in
to click when a metal object passed in between the magnets