So this is my first game im making with construct and its a 2 Player (local) platform game.
Everything I have made for the game so far works fine, movement, objects, collision, etc.
But I am unsure how to stop player 2 from leaving the screen. (i think its called viewport)
Basically I want to know how to make a border for the screen that will stop player 2 from leaving it.
I have looked through the events and cant find anything like: If player 2 is at edge of viewport, make edge of view port solid or something.
So I am out of options.
Thanks if you can help!