How to have mobile joystick set player position in 2D space


Is there an easy way to have the mobile joystick set a specific position on screen for the player? For example if the joystick is in the middle, the player is in the middle of the screen. If the joystick is to the right, the player is to the right.

Not with any movement speed between the start and end space.

Example image, MSPAINT masterpiece: