How to make a function not stack on itself?
Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.
I have a singular function, but whenever that function activates, the same function can be activated again. How do I prevent the function from happening, whilst the same function is functioning
example: I stand next to a sensor with the door, but since I'm standing with the sensor, the door slams me in the face and opens until I'm not in the sensor.