RTS-like selection border around multiple units


Hi. I was wondering if anybody here know how to achieve an affect similar to this.
Just looking for someone to point me in the right direction on what documentation/feature I should read up on.