Can't seem to understand cursor movement

When I left click, I am trying to send a projectile that was already created before towards the direction that my mouse cursor is at at that time.

and