Category: Tilemap
Syntax:
tmObjectRotation:Double(map:Int, layerName:String, index:Int)
Double
Gets an object's rotation.
Takes map (The map's handle), layerName (The name of the object layer in Tiled), index (Which object in the layer, from 0).
Returns: The rotation, in degrees.
View detailed documentation online
r = tmObjectRotation(map, "things", i)
BambooBasic © 2026 Michael Denathorn