• Editor
  • Adjusting clipping mask position in draw order

Related Discussions
...

Hi there,

I've run into a problem where I would like certain animations to be masked in a background.

The problem I'm facing is when I create a clipping mask, it is situated at the top of the draw order, and when I drag it down to only affect the desired animations it clips/masks everything.

The only way I can clip the desired assets is to drag them to the top on the draw order but that makes the background the foreground 😐

I can't get the assets i don't want clipped out of the 'red zone'

Am I missing something trivial?

A clipping attachment clips starting at its slot's draw order position and stopping at its end slot. By default the clipping attachment's end slot is set to its own slot. Since its own slot can never be encountered in the draw order after itself, it clips until the end of the draw order.

You just need to set the end slot to choose where to stop clipping.
Clipping attachments - Spine User Guide: End slot

19日 後

Awesome, thanks Nate