Interesting idea for a coop game! :) Just one thing, you could add collider or something to restrict player to the playzone.. Now you can move away from screen..
Viewing post in Protect Me !! jam comments
Well, I think that for colliders to work you need to have a rigidbody attached on one of the colliding objects. Do you have it on the players? Also check if you have rigidbody2D and 2D colliders . And if you have collider on the player. Also make sure that you don't have checked the option "Is trigger". These are the only things that I can think of without seeing the actual project in unity.