Creating and managing behaviors
Ways to create a new behavior
Select a group of layers in Flinto’s canvas view and do one of the following:
- Press the “Add Behavior” button in the toolbar
- Choose the Layer > Add Behavior menu item
- Use the command + b
keyboard shortcut
- Click “Add Behavior” then “New Behavior” in the Behavior section of the inspector.
Use an existing behavior
Behaviors can be re-used on multiple groups. To use an existing behavior: - Select a group - Click “Add Behavior” in the inspector - Choose the desired behavior Clicking the ‘edit’ button next to the behavior name will select it and open the Behavior Designer which is useful if you need to assign tags or make customizations.
Edit a behavior
To make changes to a behavior, select the group it is applied to and do one of the following:
- Click the “Edit Behavior” button in the toolbar
- Choose the Layer > Edit Behavior menu item
- Use the command + b
keyboard shortcut
- Click the “Edit Behavior” button on the corresponding gesture in the inspector.
Remove a behavior from a group
To remove a behavior from a group, select the group and click the “x” button in the corresponding behavior in behavior section of the inspector.
Name and rename behaviors
It’s a good idea to give your behaviors descriptive names. To name your behavior, type a name into the text box at the top of the Behavior Designer before exiting.
To rename a behavior: - Edit the behavior and type a new name into the name field at the top of the Behavior Designer - Access the Behavior list by clicking “Add Behavior” in the inspector, then double click the behavior you would like to rename.
Duplicate behaviors
Behaviors can be duplicated which is useful if you’d like to make a new behavior that is similar to an existing one. To duplicate a behavior:
- Access the behavior list by by clicking “Add Behavior” in the inspector.
- Right-click the desired behavior and choose “Duplicate”
Delete a behavior
Behaviors can be deleted if they are no longer needed. To delete a behavior:
- Access the behavior list by by clicking “Add Behavior” in the inspector.
- Select the behavior you would like to delete
- Press delete on your keyboard