You want to make an 8 direction behavior object when forward flipped 360 degrees?
Develop games in your browser. Powerful, performant & highly capable.
An invisible sprite enabled 8 direction behavior , Another visible sprite pin to invisible sprite. add even set 360 angle for visible sprite.
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.