I want the camera to go to the left when the cursor is at the left border of the layout, to the riht when it on the right border and stay stop when it is at each other place. How can I do it?
Here is an example I made just now. You can make the scroll sprite invisible in the game, I just made it visible now for testing purposes.
Develop games in your browser. Powerful, performant & highly capable.
Thank you bro, it helped.