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?
Develop games in your browser. Powerful, performant & highly capable.
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.
dropbox.com/s/gfrd4v2oqw2w6em/Mouse_scroll.capx?dl=0
Thank you bro, it helped.