I don't receive player mouse inputs until I click

Thanks for you answer.

Is a easy task, the cannon must loock always to cursor, as the images below:

To do this I started getting mouse Y inputs but after added custom cursor I only receive them when I click.

Edit: It seems that I actually receive the inputs, but unless I press any mouse button I receive "AxisValue=0.0"