# hittest(boundary,point)

**Description:**

Checks if the point lies within the given boundaries.

**Example:**

![image-20250922-080905.png](https://openbrim.atlassian.net/wiki/download/attachments/3308879920/image-20250922-080905.png?api=v2)

![image-20250922-080921.png](https://openbrim.atlassian.net/wiki/download/attachments/3308879920/image-20250922-080921.png?api=v2)

```
<O N="Hittest" T="Project">
    <O T="Surface">
        <O T="Point" X="0" Y="0" Z="0" />
        <O T="Point" X="10" Y="0" Z="0" />
        <O T="Point" X="10" Y="10" Z="0" />
        <O T="Point" X="0" Y="10" Z="0" />
    </O>
    <O T="Circle" Radius="1" X="5" Y="5" Z="1" Color="#fcba03" />
    <P N="boundary" V="[[0,0],[10,0],[10,10],[0,10]]" />
    <P N="hit" V="hittest(boundary,[0,5])" />
</O>
```
