What are these new features?

Can someone explain to me what the Local variables do and why the set variable block has become a control block?

4 Likes

Hey @aadenboy!

Here’s a little bit of information about local variables:

6 Likes

That’s cool! But what about the save variable becoming a control block?

5 Likes

Hmm, on my end it still looks like it’s in the variables section. Do you mind sharing a screenshot of what yours looks like?

4 Likes

image|666x500

3 Likes

you can use it as “control block” if you want your local variable work in your entire object (and not, for example, only in When Game Starts)

4 Likes

Ah, I see what you are talking about. The variable will be defined outside of a function. It runs once, but every time the scene changes it will update.

(if someone else has a different explanation, feel free to correct me! I haven’t used this feature yet.)

5 Likes

We will release some documentation on local variables soon (It’s been delayed a bit since I have been on leave recently — sorry about that.)

6 Likes