it uses sight objects to tell if the player is visible or not (if it touches the wall the turret turns green, but if it touches the player the turret turns red use wasd to move and turn
sorry for bad movement and awful hitboxes thanks to 3kiliksphillip for showing this is his game making journey (deragon eremine)