every time the player wins he launches a series of instructions to make the chest show up in the middle of the screen, but when I run it it doesn't come out in the middle, position x works fine but position y does not work, until and tried Put any number and it goes to the same place, until I tried to execute the position block after everything happened and there if it works well, I noticed and there is no block in the project that changes the position y of that object
Your png files have dimensions (H x W) which all have a 'y' value. If the 'object' is an image, this is logical it will have a different position when compared to a different image.
compared to the dimensions of another image it might replace. When you do not show images showing what happens versus what you expect to happen and provide incomplete code showing what you are doing, how do you expect specific advice when the people here cannot run your code?
I do not want to share my code, besides I gave characteristics of what happens, there is not even a block in the code that changes the position y of the object other than that
If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...
which means in your case post a screenshot of your relevant blocks...
To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.