Spaceship mousepointer conroler

Godot Version

latest

Question

I cant find this anywere, i want to make a space game were you control your ship with mouse and wasd.In a topdown d2 enviorment

Ship always points towards mouse pointer and W for throttle etc. HOW do i do that?

Calculate forward and sideways direction vectors by subtracting ship position from mouse position, and move along those vectors depending on player’s input.