=====Flashlight===== ====Finished Product==== {{ :developer_center:developer_editor:20241115-181436.mp4 |}} ==== Create features==== Create a flashlight item {{:developer_center:developer_editor:screenshot_1731404767.png?nolink|}} And we're going to create a Invisible Wall Block (note: please change light intensity to 15) {{ :developer_center:developer_editor:202411151815_1_.mp4 |}} ==== Trigger ==== **Step 1** - Create an event, that is, "when the player selects an item," and please choose "Flashlight" - you have already created {{:developer_center:developer_editor:screenshot_1731404998.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731405194.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731406960.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731407144.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731668666.png?nolink|}} **Step 2** - We will design an area filled with light blocks, ensuring it is as luminous as a flashlight. Firstly, you need to import an area variable {{:developer_center:developer_editor:screenshot_1731667608.png?nolink|}} Next, you must set newly created area variable to the player's location to area {{:developer_center:developer_editor:screenshot_1731667783.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731668762.png?nolink|}} Focus here, you need to choose "Convert Location to area" {{:developer_center:developer_editor:screenshot_1731668811.png?nolink|}} **Note: Please change to 1; the purpose is to prevent excessive brightness.** {{:developer_center:developer_editor:screenshot_1731668904.png?nolink|}} Then, please choose "Player location" {{:developer_center:developer_editor:screenshot_1731668958.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731668207.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731668254.png?nolink|}} After 0.2 seconds, you're going to delete those blocks {{:developer_center:developer_editor:screenshot_1731668328.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731669022.png?nolink|}} {{:developer_center:developer_editor:screenshot_1731668489.png?nolink|}} Then, please choose clear all {{:developer_center:developer_editor:screenshot_1731669137.png?nolink|}} ---- For questions about Developer Tools, join our official Discord server. [[https://discord.gg/NVRZHBChBt|Mini World Global DEV discord]]