It works with moving things as well. Note that the sensor only checks once (you have to set the event as a parallel process if you want it to check continuously), so I recommend you put your custom route in the sidebar instead of using the "Set Movement Route" event command.