programming by demonstration
In computer science, programming by demonstration (PbD) is an end-user development technique for teaching a computer or a robot new behaviors by demonstrating the task to transfer directly instead of programming it through machine commands. - wikipedia https://www.youtube.com/watch?v=lXSho9loGYU
Pick robotic arm, then manipulate.
spacial <-> spacial