How to stop a camera who is animated by a rotating component in terms of script

Here is the other link, the normally first one in the case.