"Input touch" setup for mobile space shooter

I create a space shooter and I have a problem with implementing input control. On the screenshot below is the logic. When the player moves his finger, the ship moves in the same direction. However, when finger touches another part of the screen, the ship teleports to a new location - and this should not be the case. Anyone have an idea how to fix it?

https://drive.google.com/file/d/1gW2…ew?usp=sharing