How do I explicitly set a Sprite's ZIndex?

0 favourites
  • 2 posts
From the Asset Store
A whole set you need to create a gorgeous winter 2d game
  • I know I can change a Sprite's ZIndex within a layer by using "Move to top/bottom" and "Move to object," but is there a way I can actually assign a value to the ZIndex? I have a scene where the objects need to overlap in such a way that requires a very specific Z-order, and assigning this order using "Move to top/bottom/object" is a very round-about and error-prone way of achieving this order. It would be much easier to have an event that would allow me to set a numerical value to the ZIndex. Is there a way I can accomplish this?

    I know that there's a .ZIndex property, but I can't find a way to manually assign a value to it...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • As you have a licence you have unlimited layers, so you could break your objects over multiple layers and use "Move to layer" as a solution.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)