---
agentTools:
  projectIndex: https://whsjs.readme.io/llms.txt
---

# Orbit

`WHS.controls.OrbitModule`

This modules automatically orbits the app camera around a point using `ThreeOrbitControls`.

Use `WHS.controls.OrbitModule` if you want to look for your shape from different angles.

[block:callout]
{
  "type": "info",
  "title": "Also can accept a target object as a first argument"
}
[/block]

[block:api-header]
{
  "type": "basic",
  "title": "Params"
}
[/block]

[block:code]
{
  "codes": [
    {
      "code": "{\n\ttarget: new THREE.Vector3(0, 0, 0),\n  follow: false\n}",
      "language": "javascript"
    }
  ]
}
[/block]