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
Develop games in your browser. Powerful, performant & highly capable.
Maybe this might be close to what you want ?