Set the max CPS (Clicks Per Second) and click anywhere on the screen. If you reach the CPS limit a message will appear in the bottom left and the project will be stopped.
If you use this in a clicker game, please credit me, thanks! Update 1.1 - Added a highest CPS cloud variable because why not