Change level throws error

does setinterval have a cancel function or i have to do it through some booleans? Or other method is to delete set interval and replace it with timer variable and deltaTime

@smokys yes its another method called clearinterval.

1 Like

Hi @yaustar,

do EventHandlers (onmouseDown/isPressed) have to be manually detached when changing a Scene?

Yes as it’s a subscriber to a global object (app.mouse etc).