tmObjectRotation

Category: Tilemap — Objects

Syntax:

tmObjectRotation:Double(map:Int, layerName:String, index:Int)


Parameters

Returns

The rotation, in degrees.



Summary

Gets an object's rotation.

See the Tilemaps guide.



Example
r = tmObjectRotation(map, "things", i)

BambooBasic © 2026 Michael Denathorn