How stop macro for Swiftpoint Z Windows 10

How stop macro for Swiftpoint Z Windows 10

I want to do a clicker macro, but whenever I activate it, I can´t then stop it.
This is how it looks
I tried pressing again the key but it does not stop the macro.

How can I do a clicker that only uses one key of the mouse and is able to stop when clicked again?

I don´t want to stop when releasing the button, I want to do an automatic loop, and it only stops when the button is pressed once again.

Press button - Macro starts and continues infinitely - Press button again - Macro stops completely - repeat whenever preferred