# pick-helper

> Raycaster builder for threejs

Latest version **1.0.1** (published 2019-09-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install pick-helper
pnpm add pick-helper
yarn add pick-helper
bun add pick-helper
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-09-30 |
| First published | 2019-09-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jason Byrd |
| Maintainers | jasonbyrd |
| Keywords | pick, helper, raycaster, three, js, threejs, 3js, 3d, jason, byrd, jasonbyrd |

## Links

- npm: https://www.npmjs.com/package/pick-helper
- Repository: https://github.com/JasonTByrd/pick-helper
- Homepage: https://github.com/JasonTByrd/pick-helper#readme
- Issues: https://github.com/JasonTByrd/pick-helper/issues
- npm.io page: https://npm.io/package/pick-helper

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-09-30

## README

<b>This is Pick Helper. It does one thing, picks objects in a 3d environment created with three js for you.</b>

How to use:<br>

<b>First, import Pick Helper.</b><br>
import PickHelper from pickhelper;<br>


<b>Next, create your pick helper.</b><br>
pickHelper = new PickHelper(this.scene, this.camera);<br>
or<br>
pickHelper = new PickHelper(scene, camera)<br>


<b>Now, use the .pick command to get the mesh your cursor is over.</b><br>
pickHelper.pick(event, this.scene, this.camera, this.mount);<br>
or<br>
pickHelper.pick(event, scene, camera, mount);<br>

I have no interest on financial gain for this code and all are permitted to use it as they see fit.<br>
special thanks to the creator of this tutorial: https://threejsfundamentals.org/threejs/lessons/threejs-picking.html<br>
This code is based off their PickHelper class but converted into an object-oriented form for use in React, etc. and all contained within said class.

---
_Source: https://npm.io/package/pick-helper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
