How to make object be always in front of another?

I am making a little top-down sword game and I want to make the sword be always in front of the player even if he turns around. Any ideas? :grinning:

Well, move the position (and z-order, if it’s a isometric-like top-down) of the sword sprite accordingly to the direction of the character.

Hi try like this

1 Like

Do you mean in front of the way the player is turning? If so, look at using the sticker extension. Install the extension to your project :

and add the sticker behaviour to the sword. Place the player and sword on the scene :


At the beginning of the scene, stick the sword to the player :


To get :



Ooooh, so thats how it’s done! Thank you all! You helped me a lot!