Your doing it wrong! Mouse cursor is garbage, not even necessary to aim with. Mouse Cursor's code interrupting the refresh rate and cause EXTREME lag. Seems every enemy runs the same code to aim at the character. +1 enemy is like +1000 CPU cycles! They are all shooting at the same position, re-use your variables. You don't know #1 rule. KISS (Keep It Simple, Simplify!) If movement was: wasd and aim with 'arrow keys' 8-directions. Same for enemies. Maybe then this game will become playable until you learn better code.
I like the manual save feature. This lets me earn a nice bit of money to try out different upgrades, please don't autosave! What I would like to see is a button to (Hold Ground=stop movement). And the Hotkey's to select your unit is very confusing. something like 'qweasdzxc' for friendly units would be more intuitive. Perhaps some selection feature on multiple units. Select all/none, group 1,2,3 Then the action buttons (assault, fallback, retreat) would only apply to the selected group.