Sprite prefab has a default Z position which can't be changed

I’ve moved a sprite into a prefab and when I move the prefab onto the scene I can’t changed it’s Z position. Also another annoyance is that the Z value gets set to the X value. So every time the X value changes, the Z gets set to that.

Is there an other sight I’m missing here?

EDIT

Ignore this. I’m an idiot. I have a tile map script I’m working on to snap tiles to the grid, that z values was getting overwrote thanks to that.

Now that is a strange bug indeed. I’m going to try to duplicate the bug and I’ll get back to you.

EDIT

Vector2 is your friend! :slight_smile:

vector 2

You just necroed a thread from 2013 to post this.

2 Likes