Screen Edge Collision

Hi,

is there some easy way to make the screen Edges/borders collidable
in my case collision boxes are a bit complicated because its
isometric view
i tried to rebuild the cam frustum but thats really difficult