You would have to write that yourself.
var tanks = get_tree().get_nodes_in_group("tank")
for tank in tanks:
if tank.hovered:
tank.last_position = tank.position
tank.z_index = 1
drag_objects.append(tank)
Now you have the objects that are the "units selected" inside the drag_objects. So you would write code that will move them, for example by adding some value to their position.