How do i make camera follow mouse? (Like Hotline Miami or Nuclear Throne)

How do i make a camera follow mouse like in Hotline Miami or Nuclear Throne?

Hi Kikorik,
I know there’s an event to change center camera position.
Try to use that with Cursor.X() for X position and Cursor.Y()for Y position.

If the function name Cursot.X()isnt correct, try exploring the blue sigma 123 button.

in Hotline Miami the camera follow the player, not the mouse.
You can use the smooth extension: