How do I find out if camera is moving left or right?

How do I find out if camera is moving left or right?

Whether the player moved Left? (The camera will move Left too)
Or as in the mouse moving the camera?

as in the mouse moving the camera

The solution here should help: How to detect if camera is rotating left or right? - Help and Feedback / Scripting Support - DevForum | Roblox

ty man. also i just noticed the person who posted that is the owner of nico’s nextbots lol