How do you add 1 to a number property?
Go to the blocks area in a trigger, and set the property to property + 1. If you donât know what blocks are, this might help you:
It wont let me put the property in the logic _ + 1 though
Am I doing it correctly?
Using green blocks returns a text value - thatâs fine for giving the name of a property because the name is made up of text, but if you try and use a green block in a mathematical evaluation it will result in an error. What the computer thinks youâre trying to do there is add 1 to âStageâ, and because that isnât possible, the program wonât work properly⌠however, if you want to find the value of the property named Stage, you can use a Get Property block before the green one to let the program know that you want to use the property named Stage and not the word âStageâ. Itâs kind of annoying, I know, but those are just the rules that computers use in order to understand what their human programmers are trying to say :]