Hello, i am brand new to blender. I am trying to make a short Stickman animation for learning purposes. I would like to make the sword appear from behind the tree, and not in front of the tree as it does now. I have been looking for tutorials, but i can't find any answers on how to do this. I thought maybe i could make the tree a layer somehow and get the sword to be behind that layer, but dunno how. The best clue i got was somebody talking about "shrinkwrap" tho, i don't think it's meant for stuff like this ? Any tips would be a great help! :)
If you press TAB to go to object mode, then duplicate the tree with SHIFT+D, then extrude (E), and fill (F):
between the vertices at the edges, to make an object that will cover the sword (or anything else), then make the material of this object just filled white (or whatever colour* your background is):
*I'm British so I spell it properly
then that should cover the sword perfectly behind the tree. If the sword is still in front the tree, then check that it is behind the tree in 3D space.