In code I’m switching a game object’s SpriteRenderer.sortingOrder SpriteRenderer.sortingLayerName in the attempt to make one game object start off in front of another game object but then appear behind that same other game object if say, i click a button.
Thanks, cbothra. Just realized that i was manipulating the control button not the actual object! (stupid).
I’m getting the values to change but the visual result isn’t happening, one object is not going behind another…
I’ll keep hacking, thanks again