well the title says it all. I need to get an entity using this function but i dont know how.
What? You just call it with the required arguments and it returns a table of all the entities contained in the sphere. There is an example on the wiki.
This thread was and still is on the first page :