Has anyone ever used the IR sensor to follow an IR signal?


I have spent years building a full sized electronic r2d2. I have finally finished. Now I’m wanting to make a mouse droid that follows r2d2 around from a certain distance. I was thinking an IR detector module plugged into the megapi board could follow the infrared transmitter signal if I put the IR remote control on r2 and had it transmit at a regular interval. Any thoughts? Can this be done? Has it been done? Is there a better way to do this? I’ll happily entertain any ideas you might have. By the way, I’m doing this so I can take r2 and the mouse droid to children’s hospitals this Christmas and deliver toys. Happy Thanksgiving everyone!!!