# Page Moved

This page has moved. Scripting documentation is now organized by topic:

**Quick Links:**

* [**How-To: Create Components**](https://github.com/needle-tools/needle-engine-support/blob/main/how-to-guides/scripting/create-components/README.md) - Getting started with custom components
* [**Reference: Lifecycle Methods**](https://github.com/needle-tools/needle-engine-support/blob/main/reference/api/lifecycle-methods/README.md) - Complete lifecycle API reference
* [**Reference: Physics Events**](https://github.com/needle-tools/needle-engine-support/blob/main/reference/api/physics-events/README.md) - Collision and trigger events
* [**Reference: Input Events**](https://github.com/needle-tools/needle-engine-support/blob/main/reference/api/input-events/README.md) - Pointer/touch/controller input
* [**Reference: XR Events**](https://github.com/needle-tools/needle-engine-support/blob/main/reference/api/xr-events/README.md) - WebXR AR/VR events
* [**Reference: Time API**](https://github.com/needle-tools/needle-engine-support/blob/main/reference/api/time/README.md) - Time and delta time reference

You will be redirected automatically in a moment...

\
if (typeof window !== 'undefined') {\
&#x20; window\.location.href = '/docs/how-to-guides/scripting/create-components' + window\.location.search + window\.location.hash;\
}


---

# 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://needle.gitbook.io/needle-engine/documentation/scripting.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.
