My camera won't move enymore when I put my mouse at the edge of the screen. I'm not sure how to fix it?

You asked this or very similar camera motion related questions before here and here.

That’s 1.5 months of little to no progress apparently. You keep running out of ideas “to try” with code that’s very simple. Apply the scientific method. Understand every bit of the code you implement. Implement it in a way that you don’t repeat the same code in multiple places because this makes it difficult to reason about and to change the code.

You know how to log. Now dig a little deeper and learn to debug code. This will be very instructive as it will quickly inform you what is working and what isn’t, and most importantly why - since you see all the variables in context. Granted, for camera motion it’s a bit tricky since this needs analyzing over multiple frames or even input over multiple frames, but conditional breakpoints are going to help you here.

What you should not do is to change some code based on a hunch. This would be a huge waste of time. You need to form an understanding why things happen to fail, especially when they worked before.

I’m saying this because you completely changed the way you handle input for no apparent reason. I already gave you the answer to the 3-times input event execution, it would have been a straightforward fix. So if you keep changing the way your code works on a fundamental level you’re very commonly introduce different behaviour that you have to chase down.

So implement one thing, and one thing only, so that it works perfectly. Input that calls the Place() method. Put that in a script of its own and don’t touch it again. Do this for every functional piece of code on a small but reasonable scope. That way you build the logic on top of functional and tested pieces. That will have you build the functionality on top of a stable foundation. This is a very important programming concept that’s relatively easy to implement.

Then you aren’t using Cinemachine properly. If you set the position of Camera.main that’s bypassing Cinemachine. You give Cinemachine a target object that it follows, which you then move.