Trying to use world.time.clearInterval like so but it gives an error saying clearIntervaldoes not exist
This is done in side a state machine of a component, setTimeout and setInterval work fine, what is wrong with my code?
Trying to use world.time.clearInterval like so but it gives an error saying clearIntervaldoes not exist
This is done in side a state machine of a component, setTimeout and setInterval work fine, what is wrong with my code?
Hi! It should be world.time.clearTimeout
, clearTimeout is used for both Intervals and Timeouts.
Hey! Thanks so much, that works perfectly! Just a heads-upβit might be worth giving the documentation a quick update so future folks donβt run into the same problem I did .