So I am recreating minecraft in flowlab and i am struggling on the hotbar. I have 2 fixes that each have 1 problem. If i make the hotbar and the axe in the game world layer then it wont move with my character but if I add run and jump to it then it will keep moving even if i get stop holding the move key. The only good thing about this is that the game world has display order so I can make my axe go over the hotbar.
Solution 2) If I put the hotbar and the axe in the user interface layer then, the axe always spawns under the hotbar for some reason, and I don't have display order in the user interface layer to make the axe go above the hotbar.