i have 2 active objects: A and B.
A: 8 directions movement (keyboard), screen is centered on this object
B: mouse movement (border on screen border)
level area > screen size
when A is moving screen is also moving, and mouse movement borders are not actual any more. when i set mouse movement borders on level borders obj B can leave screen.
how can i make B not to leave screen?
how can i move mouse movement borders to fit always in the screen?