Enable Priority not working when setting tiles through script.

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

So I’m making a random level generator, and for that I have to set the tiles through code. I have some atlas tiles, but the problem is that each atlas tile is only using 1 of the available sprites. I have “Enable Priority” checked, but it doesn’t seem to work when setting tiles through code.