To achieve the desired draw order where the sprite image is between the "box_cover" and "box_bg", you need to adjust the draw order of the slots in your Spine project. In Spine, the draw order is determined by the order of the slots. You can change the draw order by dragging the slots in the Draw Order node in the Spine editor.
Here's how you can set it up:
- Ensure that the "box_cover" slot is above the "item bone" slot in the draw order.
- Ensure that the "item bone" slot is above the "box_bg" slot in the draw order.
This way, the "box_cover" will be drawn first, then the "item bone" with the sprite image, and finally the "box_bg". This will make the sprite image appear between the "box_cover" and "box_bg".
If you need to change the draw order dynamically at runtime, you can do so by accessing the draw order property of the skeleton and adjusting the slots' order programmatically.