What's New in Director 8.5 > Using 3D Behaviors > Behavior types |  |

Behavior types

Director 8.5 includes two different types of 3D behaviors: trigger and action. Action behaviors are divided into three different types: local, public, and independent. These behavior types and subtypes are detailed in the following table.

Type | Function
--- | ---
Trigger | A behavior that sends an event, such as a mouse click, to an action behavior
Local action | A behavior that is attached to a particular sprite and that will accept triggers only from that sprite
Public action | A behavior that can be triggered by any sprite
Independent action | A behavior that needs no trigger

If you're familiar with behaviors from earlier versions of Director, you'll recognize that the trigger/action distinction is new. Formerly, the trigger instruction had to be included as a handler, such as `on mouseDown`, inside the behavior. The trigger behavior type makes it easier to reuse action behaviors in different ways with different triggers. These behaviors can be used with any 3D cast member.