Nevermind, here is my example:
Thanks for the example. I used this same c3p and include some graphics that I am using to better explain what I intend to do. I already change the code to match what I have used in my project.
I would like to stop the pointer in the middle of the place (or when it is pointing to the respective light). I am also trying to turn on each light according with the spin velocity.