Walk in front of overlay or behind it


#1

So in my story I use a bar counter as an overlay…

my characters randomly pop up in front or behind it…

Eg. when A character is supposed to walk from right to screen center behind overlay she begins walking behind the bar, but then walks through the counter and into front of the screen… it looks strange… but I’ve been trying to fix it… please help


#2

Move your overlay and your characters to an specific layer.

If you want your characters to be in front of your overlay, give them bigger values.
Example:
@overlay OVERLAY create
@overlay OVERLAY moves to layer 1
&CHARACTER1 moves to layer 2
&CHARACTER2 moves to layer 3

If you want them behind your overlay, give them lower values,
Example:
@overlay OVERLAY create
@overlay OVERLAY moves to layer 3
&CHARACTER1 moves to layer 1
&CHARACTER2 moves to layer 2

Be sure you put layers before your character try to make an action.