tmGroundAngle

Category: Tilemap — Following ground

Syntax:

tmGroundAngle:Double()



Returns

The angle in degrees: 0 is flat, 90 is running down a wall.



Summary

After tmGroundProbe: the ground's angle. With only one foot on the ground it stays at the angle you passed.

See the Tilemaps guide.



Example
angle = tmGroundAngle()

BambooBasic © 2026 Michael Denathorn