YSort extension and object creation

Hello everyone,

I am using the YSort extension to order 2D characters moving in a room, as well as objects between them.

The problem is that I am “generating” some objects on a table. Even though YSort behavior is enabled on both the objects and the table, the objects are not visible, as they are generated below the table.

Is YSort working with generated objects?

Thanks,

ADF

It sounds like it could be. The y-sort value uses the y value of the origin. If the object is positioned higher up the screen than the table, then it will be placed behind the table.

A way around this is to move the origin of the generatable object to near the bottom of the sprite. This has to be done in the editor.