Yes, Z . I am using a proximity sensor. Z is then also triggered at the last leveling point.