How do I make space shooter controls

I’m currently making a space shooter game and having difficulties making the controls for the player

Basically I want my character to move as the same on those space shooter games on mobile phones

Here is a screenshot on how my character moves right now

Thanks in advance

The keyboard controls are fine, I just cant get the mobile controls to go smooth

Hello!
What do you want exactly ? The sprite moving to the place the player touch on the screen ?

Yes something like that

You don’t put any code for movement on mobile device from what I see on the screenshot, or you made a mistake on your conditions, but the only code using the condition “is a mobile device” is use for shooting and it’s not necessary I think.

Hi, it seems your events are a bit off here. There is a tutorial that tells you how to set up touch controls: