I have a layer "UI" he has disabled paralaks (equal to 0%)
There is a layer "Objects" where all the objects are located. It has the usual parallax (equal to 100%)
The UI is static, that is, when I scroll the screen, all the elements are in place. Next, I click on any place on the screen and create an object on it. And here the problem begins.
I need the object to be created exactly in the place in which I clicked, and if I create it and specify the "Objects" layer, it will spawn somewhere else. If I specify to create an object on the "UI" layers, then it is spawned where necessary, but since the "UI" layer is not a parallax, it moves when scrolling behind this layer.
I even spawned on the "UI" layer and then mixed the object onto the "Objects" layer, but at the same time its position immediately flew off and it mixed up.
Initially, I call the spawn button on the "UI" layer, otherwise if it is "Objects", it will simply not be called.