Category: Tilemap
Syntax:
tmSetCamera:Void(map:Int, x:Int, y:Int)
Void
Sets the world position at the top left of the screen.
Takes map (The map's handle), x (The world x position, in pixels), y (The world y position, in pixels).
Returns nothing.
View detailed documentation online
tmSetCamera(map, playerX - 640, 0)
BambooBasic © 2026 Michael Denathorn