BroHelp.me

How to get scale of TileMaps in godot

in _ready:

func _ready():
	tilemap = get_tree().root.get_node("/root/DonDonTown/Tilemap_Kenney_rpgurbanpack")

to get the scale you need to use tilemap.get_scale():

print(tilemap.get_scale())

Random Articles

  • What is the formula for Cube's surface area?
  • How to set shader_param in a ShaderMaterial with gdscript
  • Find sum of elements in a given integer array in c
  • What city is known as the City of Lights?
  • What is smallest ten-digit square
BroHelp is provided without warranty of any kind. If you found any problem please contact us at [email protected]
BroHelp.me 2020 - 2021