"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Making AR Object A auto move to AR Object B

https://www.youtube.com/watch?v=X5-5KwLxCO4

 

I need example code to make a cat move to a rat auto when it saw a rat card but i do not know about code that make check about the distance between the two and if its less than 2 units i set the cat to move towards the target which in that case is the mouse using a Slerp Vector function

please help