How to stop camera moving through parts?

Hello! I need some help with how to stop the player’s camera from moving through parts. I want the player NOT to unzoom through the window. Repeating NOT to zoom through the window (transpency 0.5). Is it possible? I hope it is! :happy1: