Create a flashlight item
And we're going to create a Invisible Wall Block (note: please change light intensity to 15)
Step 1 - Create an event, that is, “when the player selects an item,” and please choose “Flashlight” - you have already created
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
Next, you must set newly created area variable to the player's location to area
Focus here, you need to choose “Convert Location to area”
Note: Please change to 1; the purpose is to prevent excessive brightness.
Then, please choose “Player location”
After 0.2 seconds, you're going to delete those blocks
Then, please choose clear all
For questions about Developer Tools, join our official Discord server. Mini World Global DEV discord