Category: Tilemap — Following ground
Syntax:
tmPixelSolid:Int(map:Int, layer:Int, worldX:Int, worldY:Int, flags:Int)
1 if it is, otherwise 0.
Asks if one world pixel is solid, respecting tile shapes and flips. On an isometric map the position is in grid pixels and every tile counts as fully solid, and on staggered and hexagonal maps this returns 0.
See the Tilemaps guide.
If tmPixelSolid(map, ground, x, y, 1) Then Stop()
BambooBasic © 2026 Michael Denathorn