Basically I want it where if I move my mouse cursor around, the camera will slightly move. Kind of giving it a dynamic movement and making it look good.
Try the Edge scroll camera extension.
I’ll try that out thanks. However, I should have explained in more detail. So basically, you are in the main menu, and you move your mouse around and the camera slightly moves, making it seem like the camera is following the camera. However, it should be a limit to where the mouse moves to. For example, it shouldn’t go beyond the limits of the game screen. And when the new game button is clicked, camera goes back to where it had originally started at.
You could make a hidden object that the camera focuses on. Move it a portion of the mouse’s movement (for example 1/10th of it), with limits to how far the hidden object can move.
So basically get a rectangle and make it invisible. And then have it where the mouse moves inside of it, but can’t leave the box because the box is stuck in place, and the mouse follows a dot inside of the box and focuses on it? I could be overthinking it.
No, have a sprite that’s invisible, and move that within the confines of the rectangle. How to determine the rectangle is up to you - another sprite that make a rectangle or hard coding the limits.
The mouse location is irrelevant. Keep track of the previous and current mouse positions so you can work out the distance to move the camera focus object.