======Pet====== ====Finished Product ==== ====UI Design ==== ====Trigger==== **Step 1** - We need to create an event that is "When the player taps the creature or another player" {{:developer_center:developer_editor:screenshot_1731300573.png?nolink|}} **Step 2**: Add an "If then" structure and generate a random number with 2 values (that means when you tap a creature, if the value is equal to 0, you are going to own them; otherwise, you aren't going to own them) {{:developer_center:developer_editor:screenshot_1731302486.png?nolink|}} {{:developer_center:developer_editor:screenshot-20241111-122226.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731302600.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731302654.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731302703.png?nolink|}} **Step 3** - Set the creature to your own. {{:developer_center:developer_editor:screenshot_1731303025.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303075.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303109.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303148.png?nolink|}} **Step 4** - We are going to add a homemade block to cause the creature walking to accord with the player {{:developer_center:developer_editor:screenshot_1731303299.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303337.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303379.png?nolink|}} **Step 5** - Back to the first trigger, you must add this homemade to make the creature move {{:developer_center:developer_editor:screenshot_1731303418.png?nolink|}} **Step 6** - Handle pet's name {{:developer_center:developer_editor:screenshot_1731303513.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303561.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303603.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303626.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303645.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303673.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731303780.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731304636.png?nolink|}} ---- If you have any questions about Developer Tools, feel free to join our official discord server [[https://discord.gg/NVRZHBChBt|Mini World Global DEV discord]]