Is there a way to make auto scrolling camera?

i’m making a vertical platformer, is there a way to vertically scroll the camera

There isn’t a single block solution for it, but you can make that happen with on game update and center camera at:

sidenote, if you’re using a tilemap (which I would be guessing you will for a platformer) you can leave the x as just 0 / omit the screen width / 2 if you want, though there isn’t a huge benefit to doing so; the tilemap automatically constrains the camera to not show outside of the tilemap (this behavior is extra nice when you get to the bottom of the level - it will leave the bottom as the bottom of the screen, and not fill up halfway with empty space while centering onthe sprite.)

thanks! :slight_smile: