What's New in Director 8.5 > Director 8.5 Tutorial > Use the camera > Add the triggers for the Dolly Camera behavior |  |

Add the triggers for the Dolly Camera behavior

You have already associated triggers with all four of the arrow keys. You'll now specify that the F and B keys trigger the forward and backward dollying action.

1 | Drag the Keyboard Input behavior from the Cast window to the Magic tricks sprite either on the Stage or in the Score.
2 | In the Parameters for Keyboard Input dialog box, specify the following:
| In the "Which key will be used?" pop-up menu, select "The custom key I've entered below."
| In the "If using a custom key, enter it here" text box, type F.
| Verify that "No modifier key" is selected from the "Which modifier key will be used?" pop-up menu.
| Verify that Group Dolly - Move Camera In is selected from the Select a Group and Its Action text box. Then click OK.
| You also want to offer the user the ability to dolly the camera out. To create the Dolly Out behavior, you'll follow similar steps to configure the trigger behavior.
3 | Drag the Keyboard Input behavior from the Cast window to the Magic tricks sprite on the Stage.
4 | In the Parameters for Keyboard Input dialog box, specify the following:
| In the "Which key will be used?" pop-up menu, select "The custom key I've entered below."
| In the "If using a custom key, enter it here" text box, type B.
| Verify that "No modifier key" is selected from the "Which modifier key will be used?" pop-up menu.
| In the Select a Group and Its Action pop-up menu, select Dolly - Move Camera Out. Then click OK.

Note: Remember to save your work frequently.