Category: Tilemap
Syntax:
tmHitWorldX:Int()
Int
After a hit: the world x. For a box it's the tile's corner, or for a shaped tile the first solid pixel found; for a ray it's where the line reached the tile.
Takes no parameters.
Returns: The world x position.
View detailed documentation online
x = tmHitWorldX()
BambooBasic © 2026 Michael Denathorn