Unit Selection Help needed (RTS stuff) (SOLVED)

Ok, I’m trying to get my unit selection script going, and I’m at a loss, I looked through a bit of the scripting reference, and came up with
HandleUtility.GUIPointToWorldRay()
What I was planning on doing with this was get the position (x and z) for the top left corner of my selection box, and the position of my bottom right corner, the same way, then compare that to player owned units, and if no results, player owned buildings, then exit loop.

O-o if that made sense, BUT, I can’t get handle utility to work at all, it tells me
Unknown identifier: ‘HandleUtility’.

I would guess that would normally mean that nothing like that exists. The only thing I can think of is that my code is JS, and this may require c#? Maybe?

… Any help on this?

Figured out what I needed.

ray = Camera.main.ScreenPointToRay(Vector2);