# Set View to Spotlight

### <img src="/files/7OZ4YOxrgGenGrD2tUsE" alt="" data-size="line"> Set View to Spotlight

The SetViewToSpotlight command matches the view to a spotlight direction.

This command changes the current view so that the camera position matches the spotlight source location and the camera target matches the light target point (center of base of the cone). The camera angle matches the light cone angle. This can verify a light's view as an analysis aid in setting up a scene.

**Steps**

* Select a spotlight.

For more information, please refer to the [Rhino documentation](https://docs.mcneel.com/rhino/8/help/en-us/commands/setviewtospotlight.htm#\(null\)).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rhinoartisan.com/rendering/commands/lights/set-view-to-spotlight.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
