Thank you, but I can’t achieve what I need.
In general, there is a square (sprite, camera) I place the player inside it, so I need the player, when he touches any of the edges, to push this square. How can I do that?
(by the way, I use construct 2)
Hi. I wrote above how to do it. But you were persistent and described your task more clearly.
Here is my simple example.
If you don't have C3, you can open this example even in the free version and transfer everything to C2.
File c3p