Returns true
if the specified behavior (using its name) is enabled for the given actor.
[ACTOR].isBehaviorEnabled([TEXT])
Returns true
if the specified behavior (using its name) is enabled for the current scene.
isBehaviorEnabledForScene([TEXT])
Enables (or disabled) the specified behavior (using its name) for the given Actor. Disabling a behavior will stop it from receiving when updating and when drawing events but does not prevent its other events and do-after/do-every tasks from running.
[ACTOR].enableBehavior([TEXT]);
[ACTOR].disableBehavior([TEXT]);
Enables (or disabled) the specified behavior (using its name) for the current scene. Disabling a behavior will stop it from receiving when updating and when drawing events but does not prevent its other events and do-after/do-every tasks from running.
enableBehaviorForScene([TEXT]);
disableBehaviorForScene([TEXT]);
Disables the current behavior. Does not immediately stop its code from running - you'll need to use to achieve that.
Disabling a behavior will stop it from receiving when updating and when drawing events but does not prevent its other events and do-after/do-every tasks from running.
disableThisBehavior();
Returns true
if the specified behavior (given the behavior name) is attached to the given actor.
[ACTOR].hasBehavior([TEXT])
Returns true
if the specified behavior (given the behavior name) is attached to the current scene.
sceneHasBehavior([TEXT])