How can I get the rotation of a tilemap?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jujumumu

How can I get the rotation of a tilemap? If I set the rotation of a tilemap using the x and y flip how can I get the rotation of the tilemap using a script?

var rot = $TileMap.rotation
? or i not currect undastand you?

SuperDIMMaX | 2019-12-21 22:05

:bust_in_silhouette: Reply From: Epidal

The official documentation is your friend: is_cell_x_flipped