Helpp plz

how do i make it so when an object hits like a wall it bounces in a random direction? i tried doing thiss but it moves the wall too and i dont want that. orr how can i close the game so what u see in the game is only how far u can go.
Comments