The Evalscript is not the place to set a polygon geometry, as the code tells Sentinel Hub services how to process each pixel in your image, regardless of where it is located. The place to set the geometry is in the payload: the part of the request where you set parameters such as time-range, area of interest, sensor, etc…
The concept of Sentinel hub is to avoid processing areas you don’t need and only consume the data that is useful for you. By setting the geometry in your payload, you can save PUs.
Here is a list of resources that will help you understand the payload and how to set the geometry: