Use WS to move Use AD to rotate I made this code myself and made this for fun. I mostly made it to learn and test raycasting and top-down view physics. I might add an enemy (inspired by @mememaker12349) in the near future.