Resources on Variables in Hopscotch and Local Variables

Looking for resources on local variables, or on variables in general? We’ve got you covered.

Articles

Here are our articles documenting Variables in Hopscotch, and Local Variables.

Variables in Hopscotch

This article contains information on the different types of variables in Hopscotch. Here is what it covers:

  • What is a variable?
  • What is scope?
  • What is a declaration?
  • What are the different types of variables in Hopscotch?
    • Game variables
    • User variables
    • Object variables
    • Local variables

Local Variables

Local variables are variables that exist within a specific container. You can choose which container they exist in, by changing where the variable is declared.

This article contains information on

  • Creating/Using Local Variables
  • Setting the Scope of Local Variables
  • Changing the Scope of Local Variables
  • Merging Local Variables

This post will be updated with more resources as they become available.

If you have any questions or tips, feel free to post them below. Also feel free to share constructive feedback or corrections for the resources.

10 Likes

Cool article

4 Likes

This is very useful! Thanks!

Second post

2 Likes