I would like to create a boolean that triggers every 2 seconds. but i cant figure out how to do it properly.
trying the code below will only execute it once and sets the