Updating Mouse Position While Holding Left Mouse Button

Hello!

I am working on a new project (somewhat of a noob, but working with other people).

We have a ray shooting system, however when you press the left mouse button, the mouse cursor is stuck and will not update its position. How do I enable being able to click the mouse and update its location at the same time? If I replace the left mouse button input event with another event, it updates correctly. (For example, K works perfectly). Any assistance would be much appreciated!

Thank You!
-Matt

What method are you using to check the cursor’s position on screen?