ConditionalCoder<p>When programatically adding tilemap tiles to a scene (using set_cell()), is there an easy way to avoid needing to specify 'magic' numbers as the atlas coordinates?</p><p>I thought about defining constants for the coordinates I use, but then I'd end up with dozens of them, and I wonder if that's even helping or not...</p><p>Has anyone else done this? What was your solution?</p><p><a href="https://mastodon.gamedev.place/tags/Godot" class="mention hashtag" rel="tag">#<span>Godot</span></a> <a href="https://mastodon.gamedev.place/tags/GodotEngine" class="mention hashtag" rel="tag">#<span>GodotEngine</span></a> <a href="https://mastodon.gamedev.place/tags/Godot4" class="mention hashtag" rel="tag">#<span>Godot4</span></a> <a href="https://mastodon.gamedev.place/tags/GDScript" class="mention hashtag" rel="tag">#<span>GDScript</span></a> <a href="https://mastodon.gamedev.place/tags/Tilemap" class="mention hashtag" rel="tag">#<span>Tilemap</span></a> <a href="https://mastodon.gamedev.place/tags/GameDev" class="mention hashtag" rel="tag">#<span>GameDev</span></a></p>