One way is to have a 3D camera for your scene and have the layers on different Z positions. Set camera X and Y based on mouse position in relation to the game screen. That is simply Input.mousePosition. You should get used to reading unity docs, such as this on the topic Unity - Scripting API: Input.mousePosition