When you move the Object infront of the web camera automatically its change its position also.
View this project in Scratch
Scratch