I have two objects and I want to move them separately , could you please give me a solution? Any help would be highly appreciated .
Use a ray cast fromt he middle of the screen, when player clicks, it hits one, and activates the objects script, while the other one is not....
Or you could do a push X key to go between them, and when you push it, it disables the script on one, and enables the other, and vice versa when you push again.