Dynamic search for a moving target