I need a object on top layer, I have used for that z order, Move to top layer and layer.
even I have deleted that object and again create new sprite but not getting expected result.
Develop games in your browser. Powerful, performant & highly capable.
You can set the layer on the object's properties or set the layer number when you create it. If you're trying to do something else we're going to need more info than this.
Thanks for the reply, the issue is resolved, I use for that Move to the object and"front behind"option and layering also. so its works nicely.
I think your workaround is not the right one (even if it works).
With an event "On created" you can add an action to "move to layer X" (where X is your upper layer), then "move to top"
Thanks for the reply, I will try this!