Quickly toggles the flashlight on the device's camera system 8 times in a row, generating four flashes of light (on/off, on/off, on/off, on/off).
I built this because I was annoyed a driver who blew through an intersection as I was crossing as a pedestrian and wanted a way to “signal” at that without perhaps using other gestures I know of.
But more practically, this could be used in any low light conditions to flash your light to a friend from far away so they know exactly where you are.
This is also a good demo of using the Repeat action and Scripting actions with “Toggle” capabilities – repeating a toggle twice will perform an on & off function. For even more explicit repeating patterns, try using a “Repeat X times” > “Repeat 2 times” > “Toggle X” loop.