ON FLASHLIGHT TOGGLED

;Trigger
Fires whenever the player toggles the flashlight
;Values passed to bound function
Value 	Type 	Description
event 	string 	Is always "on_flashlight_toggled"
enabled	boolean	true when the flashlight was switched on, false otherwise
;Example
<nowiki>
-- Flashlight on
{
	"event" : "on_flashlight_toggled", 
	"enabled" : true
}
-- Flashlight off
{
	"event" : "on_flashlight_toggled", 
	"enabled" : false
}
</nowiki>
Category:UI Events