Create an object and choose its plane?

Hello, on my game I use a crafting system, so in my code there is an object created. except that when I create an object it has its layer above the player, then I change the layer in the Script, but nothing works, help me please

Hi and welcome :slight_smile:

When you use the create action, you can choose which layer it should be on.
image

Within a layer, the Z-order determines which object is displayed in front of another.
image