How do i make a object stop leaving the window
i have made a pause button.. but my game is a platform game..
So if i move my platform behaviour the button leaves the window..
i've tried some things but they are all without succes....
Anyone suggestions?