Using Director > Behaviors > Including a description for the Behavior Inspector |  |

Including a description for the Behavior Inspector

An `on getBehaviorDescription` handler in a behavior's script provides a description that appears in the bottom pane of the Behavior Inspector when the behavior is selected. For example, this handler displays the phrase "This changes sprite color and position" in the Behavior Inspector:

    on getBehaviorDescription
    	return "This changes sprite color and position"
    end