I’m am making a 2D platforming game and I need to make the background I have move when the camera moves, but I want it to move slower than the camera. How do I do this?
Broadly this is called parallax. Bunch of ways to do it, each with implications.
Try out a few Youtube tutorials on it to get the hang of things. No sense someone retyping it all here!

thanks!