How do I rotate a KinematicBody2D and move the direction it's facing?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By EtheraelEspeon

I just started using Godot, and can’t figure out how to do this. I was hoping to have A and D rotate the player, and W and S control forward and backward movement.

:bust_in_silhouette: Reply From: kidscancode

An example of how to do this can be found here: 2D movement overview — Godot Engine (3.2) documentation in English