Shooting projectile to mouse cursor in libGDX

Hi all, so right now I need the title to happen in my game project and am having lots of trouble with Vectors as I do not understand them that well. I am using a vector two that goes to the mouse’s location and then I need to reduce that so that the missile goes in that direction at a normal speed. Maybe there is a better way to accomplish this task who knows?

Here is my code that is located in my Player class so far on the matter:

Vector2 missileDir = new Vector2(Gdx.input.getX(),Gdx.input.getY());

Here is the creation of the missile with the X, Y, and the Direction as the constructor:

new Missile(pos.cpy().add(TextureManager.PLAYER.getWidth()/2 TextureManager.MISSILE.getWidth()/2,TextureManager.PLAYER.getHeight()),missileDir)

This is my first post sorry if it’s messy