Object following mouse pointer.

Hi, can somebody point me where to look with my issue.

I have a object with circular shape attached to it. I want to place and constrain a directional light to it so whenever the mouse pointer is located this is where the light will point and follow. It must also move along the circle while following the mouse.

Thx in advance.

I’m not sure what you mean with “It must also move along the circle” but look at casting a ray from the mouse pointer and then adjusting the transform.position of your object to the ray.hit location. This would essentially make it follow the mouse.

Thank you. I will look into that.

What I meant was (sorry I’m not native En speaker): something like this image: