You want to make an 8 direction behavior object when forward flipped 360 degrees?
An invisible sprite enabled 8 direction behavior , Another visible sprite pin to invisible sprite. add even set 360 angle for visible sprite.
Develop games in your browser. Powerful, performant & highly capable.
Using the global variable to save the coordinates before changing the layout.
In the next layout, the player coordinates are load from the global variable.