This is an easy parallax concept that hit me in language arts class. Feel free to use any of the code! Just so you know, in your project, it doesn't have to follow the mouse; you can set it to move even with wasd or player movement and stuff! You'll figure it out!
@BaLals cus he made this!