so i made a object that moves and when it hits the edge of the screen it should be removed so i wrote two if commands that check if he is at the edge but what do i have to write in them so that the object gets removed?
i wrote it in the object source code does it have to be in the world source code or something?