Instance Variables Library

Instance Variable Actions

The Instance Variables actions are designed to get you started when creating a game and are used to create and maintain specific instance scope variables for score, lives and health (you can find out more about variable scope here). These actions will create these variables for you at any time they are used and are meant more for convenience or for beginners, and if you need more complex control over game values you should be making your own variables using the appropriate actions (see here)

The following actions exist for using these Instance Variables:

Set Score Set Score
Get Score Get Score
Set Lives Set Lives
Get Lives Get Lives
Set Health Set Health
Get Health Get Health
If Score If Score
If Lives If Lives
If Health If Health