Objects placed at a higher y-position in the map should render in front of objects behind them. This will probably require sorting the object list on every object update.
The object you are dragging would probably render above everything until you place it down (to feel like you are picking it up and then placing it).
Objects placed at a higher y-position in the map should render in front of objects behind them. This will probably require sorting the object list on every object update.
The object you are dragging would probably render above everything until you place it down (to feel like you are picking it up and then placing it).