#how to make turn onoff of a lantern?

1 messages · Page 1 of 1 (latest)

vestal jasper
#

Made a global variable "true or false" (using flash), in the UI made a button what when pressed:
if using flash = true then
Set using flash = false
(And here the lantern logic on, idk how to make a light of a lantern)

#

else if using flash = false then
Set using flash = true
(And here the lantern logic when off)