# Setting Script Parameters

## Setting script parameters

Some scripts allow you to enter parameters to modify the way the script works. For example, the default script [Teleport (Local)](https://help.sansar.com/hc/en-us/articles/115000251207-Configuring-Teleport-Scripts#Teleport%20local) requires you to provide X, Y, and Z coordinates as parameters in order to define its teleport destination. Each script is unique, so the name and function of parameters for each script may be different based on how it was defined by the script writer.

Once you've [added a script to an object](https://help.sansar.com/hc/en-us/articles/115003107143), you can begin to set your script parameters:

1. To modify a script's parameters, you must first access the object's or the script's properties panel. In the properties panel, look for the Script Settings section.
2. Under the Script Settings section, click the Script dropdown menu to select the script that you want to use.

   | ![scriptsettings.png](https://i3.wp.com/help.sansar.com/hc/article_attachments/115010791843/scriptsettings.png) |
   | --------------------------------------------------------------------------------------------------------------- |
   | Click the dropdown menu to select from a list of scripts that you have in your inventory.                       |

   **Note:** If you originally dragged and dropped a script to the object, the dropdown menu field will already have that script selected.
3. Once a script has been selected, the properties window shows a list of parameters you can modify. Each script is different and may exhibit different parameters that you may set.

If you want to try your hand on some scripts, we highly recommend that you try our [example scripts](https://help.sansar.com/hc/en-us/articles/115003909388-Example-Scripts-in-Sansar). Each one is unique and allows you to to set different parameters depending on the script's function.

#### Have more questions? Ask in our [Discord!](http://discord.gg/sansarofficial)


---

# 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.sansar.com/latest/creating-in-sansar/working-with-scripts/setting-script-parameters.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.
