> For the complete documentation index, see [llms.txt](https://info-176.gitbook.io/zencreate/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://info-176.gitbook.io/zencreate/zencreate-is-a-game-select-yours/gamification/tap-the-object.md).

# Tap the Object

One of the fundamental game dynamics is “tap the object”. ZenCreate is enriched by many customization choices present in the editor.

### **Elements of ‘Tap the Object’**

***Instruments***

* <img src="https://lh5.googleusercontent.com/dMngmDGDpjAz-42Y73Gezcf2rP9YWGFmWHsf39EAfCGwGYBkkONdWa8mAlp8cRQCLb3Es_8jB15Y4SVuV2NZ5NaF464EqqT7wPaKcQ7vRyT1OukNhb0UZdOcFFRYFk4Kw6OLXYFB" alt="" data-size="line">*Answer Button*: in the toolbar there is the Answer button tool of the dynamics. Once selected, it adds the item in the Safe Area.

***Inspector***

* <img src="https://lh3.googleusercontent.com/goN7x0yE9gf5o3_aEj_mjJdUZ5a4XhULbJ-KBfjR8U_qfXSrzJn6yMCwnfL7tI9ZumM1XxQpllotr-ZMyBbDbbanRwbihDQ9-j_a3D74CkcsXffHuf8IHYp2EE73RJKrla-ljrsy" alt="" data-size="line">*Scene Settings*: contains generic settings of a game dynamic, for example if and which image will appear when the game is over.
* <img src="https://lh6.googleusercontent.com/XA_Ji0CSaPvKquFTW8gULM46lxQRZFGE0jIjCpjFKL5zlLMTQ2fOhYZmMwzkgxEPoXVORowsTBenTQmkCRJhNxw4VADcn3wacgVak2-zxSKu1Bt0XBhnFgbz8cJti_Gt0ieMzEMy" alt="" data-size="line">*Answer Button Properties*: contains the properties of the selected answer button.
* <img src="https://lh6.googleusercontent.com/s1p1NkpflEDAYFRHpRdl0wQQoZH810lU4w6ejVr-nXyh9C91X4uB3dbYkBJoedgBQ2O5nL_1hGQsVRs1Mk6KMarQXpupX0Gaa5lyE1BKQ6ely2435IJVKI1XgebIhM89T2NsWfcE" alt="" data-size="line">*Game Settings*: find the generic settings related to this game dynamic.

### **Game Settings**

![](https://lh5.googleusercontent.com/sIHdm6JyVj4wOw5mDH9Tfnpc5ALnl9kNUjEHLmMDG9m_fnQdCFLgl6uLRkooniSpg_GeazUyGpoLMQRJyIOSQFfl_iinEX93TkTLjXiTiVawPwvs2NKJdmhsZokl2bZqFZD4ESwl)

* **Randomize answers position**: If the checkbox is checked, each time you start the game the positions of the answers will be shuffled.
* **Correct answer audio**: You can select the sound to play when choosing a correct answer.
* **Wrong answer audio**: Here you can select the sound to play when you get an answer wrong.

### **Smart Inspector**

![](https://lh6.googleusercontent.com/ymVcQpYDwm6_SD1B10UF83FNgtDYSc-3xU5MN995gS3KAUScXU5_CxM2CcjvFwRHjERPIIs6_n48t8eeWTr3zKF7VGiM-44cTF0_-2n9z61fZ_oQgpxGEzHWrYkM1z1U8hLeM9gE)

The smart inspector of a selected Answer button will contain the following settings:

* **Object Image:** This field is used to customize the appearance of the answer button.
* **Is correct**: Select this checkbox if the selected answer is correct.
* **Feedback Image**: You can choose an image that will appear when the user selects this answer. If you leave this field blank, nothing will appear.
* **Feedback Audio**: You can choose the sound that will be played when the user selects this answer.

### **How to assemble a Tap the Object game**

As an example, let’s take a simple scenario with two choices: one correct and one wrong.

* Select the 'Answer button' object from the toolbar. Once added, the smart inspector called 'Answer button properties' will open.&#x20;
* In the Object Image field assign an image.&#x20;
* Check the 'Is correct' checkbox to assign the correct answer to the 'Answer button' object.&#x20;
* In order to complete, assign a Feedback Image.&#x20;
* Assign an audio to the correct answer.&#x20;

Repeat the same procedure for the wrong answer, leaving the 'Is correct' field unchecked and not assigning a 'Feedback image'.&#x20;

At the end, the configuration in the Smart Inspector for the two 'Answer buttons' will be as follows:

&#x20;         ![](https://lh3.googleusercontent.com/Ott2hz_pDsLL2gBmaWDWfAQLxWaeFh_fodK8uTBUFkgSK_i8UVRcbWeFriWuRVVJuQDNnexjbHcw9C4fSQhNgbVGdkwa2XcXtwQfxZQxorHJri4jPbc-6L-BpI7QTis268Or6RBR)          ![](https://lh4.googleusercontent.com/vxKEU6p4jT1efHNZisvvI-OIRKbzMgFCB6fg4o_sM-4T0uLkShiymi-46Lj05BtY0ubp0lBeaZab7FhibMhj63q7CA2OPu-EaWOVN6IChzzeqk24cp68LCHgAnSlIK5TlnC2ewqA)

By opening the ‘Game settings’ inspector you can assign a ‘Correct answer audio’ and a ‘Wrong answer audio’.

&#x20;                                                   ![](https://lh4.googleusercontent.com/mHDcy5O9G8s4jz34nW18Pfea3rfyr1wYgXywU5kc0OZaw_7ZKTgSUF1CzYNkMHTbAHRqUjrfsbmJMGhuDYiWHbU0Bl7oICizex2cZBTfwTmhSfydfOGHcO75VDjjRt-Ya-Jl4HMs)

Opening the scene settings inspector, we set an audio in the 'Game completed audio' field and a 'Game completed image', which will appear when the game is complete.&#x20;

An object has been added as a background image, so we leave the default color, white.&#x20;

Set a completion audio and an image that will appear in the center of the screen upon completion of the game.&#x20;

Set the completion delay to 0 and select 'Go to scene' from the 'On completed game' drop-down menu. Let's set 'PAGE completed' as the target scene.

Let’s set ‘On Error’ to ‘Game Over’.

&#x20;                                                    ![](https://lh4.googleusercontent.com/2dSr1Ls8P3G3aYnXkRdhJctZ0a2hs3QItb_SqZthFwhU1DHlmO6yjl_uqb3K8zk6v-6Z-KhgT7PRcJMauFpLZVW1jZexkmZYJQyt9clpsK1jPqRS5HyQf5AUcRfz9oJfMLzmv17H)

The final result will be the following:

![](https://lh5.googleusercontent.com/9V0YuLrPyBkbk8n9cNtQb0nnzGad1bfZV1an_EkiC7cF0UikxCqDbcaBoV6czcoDX7lTgrIUolPN7vafhV24bGxVG5_0vgF2kzC-N-ipdDKTzDs2eXUOBZfJ07QxCGshae4_Mu5L)
