Large Scale Central

Automatic switching

I want to know what I need so that when the train passes over a point it changes the direction of a switch track