> For the complete documentation index, see [llms.txt](https://help.craftsmanplus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.craftsmanplus.com/play/layers/game-mechanics/wipe-away.md).

# Wipe Away

A scratch-card style game. The player drags to erase a front image and reveal the image behind it.

Wipe Away is a scratch-card game. The player drags a finger anywhere over the play area to erase the **Front Image**, revealing the **Back Image** underneath. Score rises with the percentage of the image wiped away.

Use it for reveals: a scratch-off prize, a hidden product, a before and after.

### Layers

* **Front Image** is the image the player erases.
* **Back Image** sits behind it and is revealed as the player wipes. Turn off **Back Image** in the Game tab to reveal whatever is behind the game layer instead.

Swap either asset in edit mode. Neither can be rotated.

{% hint style="info" %}
In edit mode, the Front Image is shown at reduced opacity unless it's selected, so you can line it up with the Back Image.
{% endhint %}

### Game Settings

**Layout**

* **Back Image** shows or hides the Back Image layer. Default is **on**.
* **Eraser Size** sets the width of the player's erasing stroke, from **5** to **100**. Default is **20**.

### Progression

| Variable              | Default | What it does                                            |
| --------------------- | ------- | ------------------------------------------------------- |
| **Starting Score**    | 0       | The Score the game begins at.                           |
| **Score Per Percent** | 1       | Points added for each 1% of the Front Image wiped away. |

Triggers can watch **Score**. With the defaults, Score runs from 0 to 100 as the player clears the image.

Only the visible, non-transparent parts of the Front Image count toward the percentage, so transparent edges don't need to be wiped.

**Example trigger:** Score **Reaches** 70, action starts your end card scene. Players rarely wipe every last pixel, so set your win threshold below 100.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.craftsmanplus.com/play/layers/game-mechanics/wipe-away.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
