Do block variable reset when a project is loaded in?

I was wondering if the block variable of custom blocks reset when a project is reloaded. I’m trying to make a block that only runs once (unless reset, of course).

no, they don’t reset

Theoretically, if I set a block variable to 0, save the project, and reload it, would the block variable to be loaded in as 0?

yes

Okay, thank you!

you’re welcome

(ps: use this block to test it)

T22 script pic
the variable only changes when the input isn’t empty and the block is run

Wrong post is marked as a solution. Without context, it sounds like the solutions are contradictory.

Oops. I fixed it

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.