---
title: PickResult
summary: Interface in @bimworks/viewer3d.
order: 10
languages: [javascript]
sdk-package: JavaScript · @bimworks/viewer3d
---

# PickResult

[[page:reference/javascript/api|API catalogue]] · `@bimworks/viewer3d` · Interface

````typescript sdk=js sdk-namespace="@bimworks/viewer3d"
interface PickResult
````

What is under a position on the canvas, from `Viewer3d.pick` or the third argument of the
`rightMouseClick` setting. The vectors are copies, they stay valid after later picks.

## Members

| Member | Kind | Description |
|---|---|---|
| [[page:reference/javascript/bimworks-viewer3d/pickresult-d5fb81c7#member-coordinate-63c43a845972|coordinate]] | Property | The point hit in render space (millimetres, globalBaseTranslation included), the frame SectionPlanes.startPlaneAt and MovablePlanes.addPlane take. Null when … |
| [[page:reference/javascript/bimworks-viewer3d/pickresult-d5fb81c7#member-normal-aa1069073a0e|normal]] | Property | The unit normal of the surface at the coordinate, facing the camera. Null when no surface was hit |
| [[page:reference/javascript/bimworks-viewer3d/pickresult-d5fb81c7#member-qid-a915e8d0b0d6|qid]] | Property | The object hit, null over empty space, the reference grid or a check overlay item |

## `coordinate` {#member-coordinate-63c43a845972}

````typescript sdk=js sdk-namespace="@bimworks/viewer3d"
coordinate: vec3 | null
````

The point hit in render space (millimetres, globalBaseTranslation included), the frame
`SectionPlanes.startPlaneAt` and `MovablePlanes.addPlane` take. Null when nothing was hit

## `normal` {#member-normal-aa1069073a0e}

````typescript sdk=js sdk-namespace="@bimworks/viewer3d"
normal: vec3 | null
````

The unit normal of the surface at the coordinate, facing the camera. Null when no surface was hit

## `qid` {#member-qid-a915e8d0b0d6}

````typescript sdk=js sdk-namespace="@bimworks/viewer3d"
qid: Qid | null
````

The object hit, null over empty space, the reference grid or a check overlay item
