Possible to detect when a player's torch is lit?Solved
I'm in the process of making a plugin that adds realism to torches (absolutely riveting, I know). At the moment I am using a VERY ghetto bool flip to determine if right click was pressed while holding a torch. So is there a way to detect if a player used their current item in-hand, AKA a torch, or better yet, to check if their torch is lit?

Here's where I am at so far (working with ghetto switch)
https://i.gyazo.com/487784ccf810c5196d6c9a5fbf84b389.gif
It's all controlled by a flag.  Can't remember which.  Perhaps Item.Flag.IsOn or Item.Flag.OnFire.
torch.HasFlag(BaseEntity.Flags.On)
Locked automatically