so, currently I have a small system in place where if you are in "build mode" have your mouse cursor over one of the machines in the game, and press "F" it'll turn off the machine and it will stop producing whatever it makes until its turned back on again.
I do this by way of simple detection, but with that comes a problem.
Lets say I have mutable of one machine, it ends up triggering all of them to turn off, which in some cases can be counterintuitive.
How would I make it so it can detect the one certain object, and only trigger it for that one object.
thanks!