This extension is supported by GameMaker Studio 2 (Not tried with Game Maker Studio 1.4). Contact me at email@example.com if you have problems or you have ideas what i should add.
Flashlight for IOS and Android (All API).
Now you can turn on/off flashlight using GameMaker Studio 2!
The extension has 4 functions:
-- Turn on flashlight.
-- Turn off flashlight.
-- Check the availability of the flashlight in the phone.
-- Check is the flashlight is On.
In order to make it easier for you to understand, I have made detailed documentation (ENG/RUS).
You can download Manual and test .apk here: https://cloud.mail.ru/public/LSDJ/ttzgnGH9e