1. WHAT
IS
A
BEHAVIOR?
Behaviors are actions that you can assign to actors to control how they interact, move, and
change appearance. Behaviors are used to add logic to your game to control what
happens when some event occurs (such as when an actor collides with an object), to
make the actor take some action (such as changing its speed) or to change an actors
appearance, such as its size, image, color or transparency.
There are three types of behaviorsContainers: These can be used when you want a certain behavior to take place only
under specific conditions. For example, you may have a rule that says when a specific
actor is clicked, then show this prompt.
Persistent Behaviors: Behaviors that continue to act on an actor continuously (unless
placed in a rule whose conditions are no longer true).
Action Behaviors: Behaviors that occur once, and only repeat themselves if placed in a
rule whose conditions become false, and then true again.