Asset Y position moved from 1 to -18 but it still says its on y1?

Any reasons why this happens? My asset is right on the grid at Y-1 but it says the position is X19.07, Y-18.33008, Z-1.56547, but when i add in a new asset and put the position to Y-18.33008, it puts the asset under the map rather than on the grid at Y-1?

You’re not asking detailed questions here. What position do you talk about? local or global position? Where did you set the position? Where does it “say” that the position is -18? Where do you “put” the position?

The position shown in the inspector is always the local position. When an object is not a child of any other object, the local and global position would be the same. However if the object is a child of another, that is not the case.

From scripting, reading / writing transform.localPosition always gives you the local position that is relative to the parent object’s space. Reading / writing transform.position always gives you the global / world space position.

sorry, i didnt know how detailed to make my question so i apoligze if it was confusing. hope this clears it up because im new to unity so i just dont know why it suddenly switched from Y coordinate 1 to -18. and i think the only other solution is redoing everything.