# HitItem

class `cee.usg.``HitItem`()

  An object describing the result of a picking action on an `UnstructGridModel`.

  Returned by `UnstructGridModel.rayIntersect`

Properties

- `closestNodeId`
- `closestNodeIndex`
- `closestNodePosition`
- `elementId`
- `elementIndex`
- `elementNodeCount`
- `intersectionPoint`
- `intersectionPointNormal`
- `partIndex`
- `partName`
- `stateIndex`

## Properties

`HitItem.``closestNodeId`

  Type: | number

  The id of the closest node in the element that was hit.

`HitItem.``closestNodeIndex`

  Type: | number

  The index of the closest node in the element that was hit

`HitItem.``closestNodePosition`

  Type: | Vec3

  The position of the closest node in the element that was hit

`HitItem.``elementId`

  Type: | number

  The id of the element that was hit.

`HitItem.``elementIndex`

  Type: | number

  The index of the element that was hit

`HitItem.``elementNodeCount`

  Type: | number

  The number of nodes in the element that was hit

`HitItem.``intersectionPoint`

  Type: | Vec3

  The 3d point (in world coordinates) on the surface that was hit.

  This is the actual point that was hit

`HitItem.``intersectionPointNormal`

  Type: | Vec3

  The normal of the surface at the point where the surface was hit.

`HitItem.``partIndex`

  Type: | number

  The index of the part that was hit

`HitItem.``partName`

  Type: | string

  The name of the part that was hit

`HitItem.``stateIndex`

  Type: | number

  The index of the state in which the geometry was hit

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

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

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for 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...