i have two layouts, when my player is on collision with the wall it goes to the Layout 2
but the probeme i have with is when my player return by the door it goes to the layout 1 in the initial position
but i want it return by wall
thanks!
Develop games in your browser. Powerful, performant & highly capable.
Give your player the Persist behavior .
https://www.scirra.com/manual/161/persist
thanks
it works but when my player is on layout 2 and i'm trying to get him by the door it still reloading the layout