> For the complete documentation index, see [llms.txt](https://francobm.gitbook.io/magicgestures/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://francobm.gitbook.io/magicgestures/gesture-creation/blockbench/hide-bones.md).

# Hide bones

this function only works with the player's model and not with items/cosmetics/effects

So, we have our animation that does this:

![](/files/aKpe2WPr8DypvV3FjMkc)![](/files/6ypeScQxtjUO7ERFB16R)

In the game it looks like this:

<figure><img src="/files/rKlPK8EOvKenWcMLQOwB" alt=""><figcaption></figcaption></figure>

Did you notice that you can see the parts of the leg? This generates Z-fighting

Then to solve it we must hide the parts of the legs and the subparts, for that you should have already seen the [Bones ](/magicgestures/gesture-creation/blockbench/bones.md)section.

<figure><img src="/files/VotYFC0e1IwioQUW8v9F" alt=""><figcaption></figcaption></figure>

Then, what should be done is to add a new keyframe in scale and scale it down by 0.9\
this will hide only the right\_leg bone, the same must be done with right\_foreleg, left\_leg and left\_foreleg.

and lastly remember to add a scale keyframe that is 1 before the keyframe you modified to 0.9, i.e. it should look like this:

![](/files/tm6RHbOh7RITFYQmcCvM)![](/files/Fs3gLGLMywennu1b5PFK)

This is done so that when the exact keyframe is reached it will be hidden, otherwise it will be hidden from the beginning and we don't want that.

<figure><img src="/files/bNEz7kDed374wjoS46L7" alt=""><figcaption></figcaption></figure>

There, it's done. Now we have successfully hidden the 4 parts of the leg and there are no more Z-fighting problems.
