> ## Documentation Index
> Fetch the complete documentation index at: https://docs.framesports.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Choose or build a coding window

> Pick the coding window you code with in MatchCoder, start one from a ready-made window, build or change one with Ask Framesports, and share it with your club.

A coding window is the set of buttons you code with in MatchCoder. You can use Framesports' own window, start from a ready-made one, or have Ask Framesports build one for you. This page covers choosing, building, changing and sharing windows.

## Which coding window am I using?

The window in use is ticked in the **Coding window** menu. To see it:

1. Open **⋯** at the end of the timeline's toolbar.
2. Choose **Coding window**.
3. The list under **Use this window** shows every window you can use, with a tick on the one this session uses.

The list is one list of names, with no headings. It holds:

* **Framesports codes**: the codes Framesports uses for its stats. It is always there and cannot be renamed or deleted.
* Windows a coach at your club has shared with the club.
* Windows you made, which only you can see until you share them.

To switch window, choose another one from the list. The codes already on the session stay where they are.

## Start from a ready-made window

For rugby, MatchCoder has four ready-made windows to start from. To use one:

1. Open **⋯** at the end of the timeline's toolbar.
2. Choose **New coding window**.
3. Choose one of the **Start from** windows.

The ready-made windows are:

| Window | What it codes |
| - | - |
| **Basic** | Attack, defence, tries and penalties |
| **Advanced** | Kicks, set piece and where on the pitch |
| **Attack Coach** | Line breaks, quick ball, 22 entries and errors |
| **Defence Coach** | Tackles, turnovers and what got through |

The window takes a few seconds to go on. Until it does, the coding window says **Putting** and the window's name, and its old buttons are put away. The new window is saved under **Your windows**, and a message says it is on, with **Customise with Ask** if you want to change it.

If you choose a ready-made window you already have, and you haven't changed your copy, your copy goes back on. If you have changed it, your copy stays as it is and the new one is added with a number after its name, for example **Defence Coach 2**.

The ready-made windows have an **In possession** switch at the top, with your team and the opposition. Choose the team that has the ball, or press **1** or **2**. A tackle is always coded for your team, whoever has the ball.

## Build or change a window with Ask Framesports

Ask Framesports can build a coding window from a description in your own words, or change the window you are using. To build a new one:

1. Open **⋯** at the end of the timeline's toolbar.
2. Choose **New coding window**, then **Create coding window…**.
3. Ask Framesports opens under the page. Say what you want to code, for example "lineout calls and jumpers" or "kick chase on a pitch map".
4. When it is done, the window goes on your match and Ask says **On your match now.**

To change the window you are using, open **Ask Framesports** under the page and say what to change, for example "bigger buttons" or "add a pitch map". Each change shows an **Undo** button, which puts the window back as it was.

If the club's window belongs to another coach, Ask's change goes on as your own copy, and Ask says so. Ask needs an internet connection.

For the full list of what a window's buttons can do, see [What a coding window can do](https://docs.framesports.ai/sessions/coding-window-calls.md).

## Use a window made in another AI chat

You can also bring in a window that another AI chat made. To do it:

1. Open **⋯** at the end of the timeline's toolbar.
2. Choose **New coding window**, then **Import a window…**.
3. Press **Copy the prompt** and paste it into your AI chat, with a description of the window you want.
4. Copy what the chat gives back, and paste it into the **Import a window** box. Or choose the window file it made.

## Share a window with your club

A window you make is yours until you share it. A shared window is in the **Use this window** list for every coach at your club. To share one:

1. Choose the window, so it is the one in use.
2. Open **⋯**, then **Coding window**.
3. Choose **Share with club…** and confirm.

To take it back, choose **Stop sharing…**. Sessions already using it keep it. Only the coach who made a window can rename, share or delete it.

## Rename, download or delete a window

The **Coding window** menu has these items for a window you made. Choose the window first, so it is the one in use.

* **Rename this window…** gives it a new name.
* **Version history…** shows earlier versions of the window. Pick one and press **Use this version**.
* **Download this window** saves it as a file.
* **Delete this window…** deletes it. A message offers **Undo** straight after.

## Frequently Asked Questions

**Will changing the coding window delete my codes?**
No. Codes already on the session stay. The window only changes which buttons you press next. See [Which coding window am I using?](#which-coding-window-am-i-using)

**Can other coaches at my club use my window?**
Yes, once you share it. Choose **Share with club…** in the **Coding window** menu. See [Share a window with your club](#share-a-window-with-your-club).

**Ask changed my window and I don't like it. How do I go back?**
Press **Undo** on Ask's answer. See [Build or change a window with Ask Framesports](#build-or-change-a-window-with-ask-framesports).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.