How to draw something over a tileset

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

How do I draw something over a tilemap? I have a script that draws a circle that is constantly updated every tick. I’m looking to have it draw on top of the tileset but right now it always goes underneath. Any tips?

:bust_in_silhouette: Reply From: EnderCreeper1st

NOTE: This if your “Circle” is a saved scene.

Its hard to say what the tree would look like, but you could add a node below the Tilemap
Basiclly heres what the scene tree would look like

----Root Node (Level)
-------Container (Can be a basic node)

In the Container you could add a script where it will spawn/instance that circle as a child of the container node. It is expected that you’ll emit a signal to that Container which will Instance you Prefered Scene.