Need help with (simple) click to move/ RTS style movement

I create a sample “game” based on that asset pack a few years ago:

HTML5: Warbattles-RTS 0.0
Code: GitHub - britzl/warbattles-rts: RTS sample project for the Defold game engine