# isPointInRect2d

`isPointInRect2d`()
  isPointInRect2d(point: `Point2`, rectPos: `Point2`, rectSize: `Point2`, tolerance: number?): boolean

  Returns whether the 2-dimensional point `point` lies within the given rectangle.

  Parameters

  > point: `Point2`

  > > The point to test

  > rectPos: `Point2`

  > > The lower-left corner of the rectangle

  > rectSize: `Point2`

  > > The width and height of the rectangle

  > tolerance: number = 0

  > > The maximum distance along the x- or y-axis that `point` is allowed to be outside the rectangle

  Returns: boolean

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...