1.If somebody will go somewhere(on the road) , but he's not there now. You can use “要“.=>你要到那裡?
2.Or somebody will move on somewhere but he just doesn't move off now. When you see him, you can also use " 要“.
Actually , you can also say哪裡去?in 1 and 2 this two conditions.