How do I make an object bounce around the camera edge?

My ship spawns power-ups and I want the power-ups to stay in the screen, so I want them to be bounce on the camera so as my player moves around the map, the power-ups are around him and not left behind.

Please help!

If your camera size isn’t going to change and the camera is orthographic then you can place colliders on the edges of the field of a view, and them make them children of the camera itself (just in case the camera happens to move around in the x and y axis). If you only want power ups to bounce of these colliders you can setup their layers(on both to powerups and colliders) and make sure only the powerups can interact with the colliders.

Layer Based Collisions