How do I allow player to push an object?

Hi all, I am new here and have done searches through the forum/tutorial/wiki to answer this question, but I can’t find exactly what I am looking for. I am making a top down puzzle mobile game that has a central character who will be pushing panels/walls in order to solve the puzzle.

I can’t figure out how to allow the player (a sprite) to push/move the panels (and all panels behind it) in non-diagnal-only directions. Does anyone have any advice or a direction they can point me in? It would be really appreciated :slight_smile:

My example may serve you but there may be other better solutions. I do not know. in this example you will have to add reference points to the object to move in the option “edit ponts”

Example

1 Like