# Typescript Overview

In Airship, you write code using TypeScript instead of C#.

&#x20;Most Unity APIs are available. If something is missing ask in our [Discord](https://discord.gg/YqrmGwSg7z) — we'll add it for you.&#x20;

* You do not use C# for any game scripts (only advanced editor scripts)
* TypeScript allows you to instantly update your game on all platforms

## Opening in VSCode

In [VSCode](https://code.visualstudio.com/) choose `File > Open Folder` and select the Assets folder in your project. This will give you proper syntax highlighting and import suggestions. &#x20;

{% hint style="info" %}
It's important to open the "Assets" folder and not the root folder.
{% endhint %}

## Creating Scripts

To create a new script open the `Project` tab and navigate to the `Assets/Code` folder. In here you can see the scripts that control the template.

<img src="/files/PCFfGZzC2bknzODzbBr6" alt="" data-size="original">

In the folder you can create a new script by right clicking and selecting:\
`Create > Airship > Typescript File`

## Important Globals

Useful Airship services can be found under the `Game` `Airship` and `Platform` globals.


---

# 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.airship.gg/typescript/typescript-overview.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.
