The missiles will home in on the mouse, and if they hit the revenant or the edge they will explode, same with the mouse, and you can control the unit with the W, A, S ,D keys and SPACE to toggle Auto Shoot, which if it is on will automatically shoot at the mouse and if it is off you will have to click to shoot it.
Thank you to QuakersOnScratch for the Original Project: Mindustry Turret 2, I would not have made this if they didn't make it first. (also all of the things that are mindustry related, I am using them because I am going to make a full version of mindustry after, this is all just a test)