tmGroundX

Category: Tilemap — Following ground

Syntax:

tmGroundX:Double()



Returns

The world x position.



Summary

After tmGroundProbe: where the body's centre belongs, x.

See the Tilemaps guide.



Example
x = tmGroundX()

BambooBasic © 2026 Michael Denathorn