using marker for moving gameobject that is child of another image target
I am a Unity beginner and am searching for a solution to my problem. I have an image target that has a 3D model as a gameobject and a marker that I want to use to move the same gameobject. First, I want to use the image target to open the 3d gameobject, then bring the marker into the camera view. As soon as the marker is recognised by the camera I want to use it as a controller to move the gameobject: when I move it 5 cm to the right I want the 3D model to move 5 cm to the right, but I want the gameobject to start at its original position when the marker is recognized. Please can someone give me tips how to do it. I am confused because the image target and the marker each have their own coordinates that can be detected anywhere in the camera view.