How to make a side scroller

When the player move, the whole map move, and also to platform, like wall. and I also want to make wall and floors

when key===“d” {
block.y -=10}

welcome!

to make the world move to simulate a camera, you can use the Vcam from the built-in assets library (the plus sign where it says “Asset Library.” Or you could make the world a clip and store the position of the camera, and on update update the position of the world based on the position of the camera. There are a few platformer engines users on this forum have released so search up “platformer engine” maybe you will find it.