Make local variables different for each rule

A feature I’d like to see in Hopscotch is:

When using a custom block in two rules at the same time, the local variables to not be shared.

I’d use it for this type of project:

Everything where a custom block needs local variables but also needs to happen multiple times at once

Here are some examples of Hopscotch code that could be improved if we had this:


That’s very useful wow


I think this seems to be a bug (unintended behaviour), since the value of the local variable should only exist in the container where it is used, and not be shared across different objects.

I’ll check, and update the category accordingly if so.


omgggggg this bug is breaking my gameeee