tmSetCamera

Category: Tilemap — Drawing

Syntax:

tmSetCamera:Void(map:Int, x:Int, y:Int)


Parameters

Returns

Nothing.



Summary

Sets the world position at the top left of the screen.

See the Tilemaps guide.



Example
tmSetCamera(map, playerX - 640, 0)

BambooBasic © 2026 Michael Denathorn