SOLIDWORKS: Be in the “Clear Zone” with your Assemblies, using Dynamic Clearance
That’s where the tool called Dynamic Clearance can help. As its name suggests, it allows you to detect the clearance between two moving parts. It can be accessed by clicking on Move Component or Rotate Component on the Assembly toolbar (the same place to access Collision Detection).
Source- HawkRidge Systems Blog