Ok thank you! This is helpful. I am in the process of learning this, but I've put in the my.state = 1; line in the enemy action and when I go to run it it says "'state' : is not a member of 'ENTITY'". What does this mean?