# Linking

### Linking is what allows you to create game logic in Mutate - also known as mechanics.

**Linking** works by connecting interactions between objects that have special components. Think of components as special abilities you assign to an object - like the ability for a spinning blade to move up and down for players to time running through and avoid getting sliced, or the ability for a button to trigger an explosion at a certain time. The possibilities are endless - you just have to be a little creative 👀

#### Linking is basically the game's thought process: ***when X happens, I respond with Y**.*

You can open Linking mode by pressing the bendy line icon in the top toolbar, or by pressing V. This will make 3 more subtools appear in the centre of the toolbar.

![](/files/SVQ67JdCF7uNcJdejc9t)

### Things you can link:

#### Components (components tied to objects)

* [Entity Components](/tools/linking/entity-components.md)

#### Special Components (components tied to the game's general behaviour)

The 3 subtools facilitate working with special components:

* [Player Components](/tools/linking/player-components.md)
* [Game Components](/tools/linking/game-components.md) (Mechanics)
* [Environment Components](/tools/linking/environment-components.md)


---

# 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.mutate.games/tools/linking.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.
