Im trying to make it so the scrolling is restricted by the border and it cannot scroll farther than the border but continues to scroll
Read this , this might help you
Thanks but im trying to do top down scrolling and when i go near the border it keeps scrolling and dont want to show the white
Develop games in your browser. Powerful, performant & highly capable.
Also, I'm not very good with like coding setences i could also use some help with that
select your layout from the "Project" tab then in the properties set "Unbounded scrolling" to false/unchecked. That should do what you're looking for I think.
Thanks that worked