What's New in Director 8.5 > Director 8.5 Tutorial > Use the camera > Specify the panning trigger for the opposite direction |
![]() ![]() ![]() |
Specify the panning trigger for the opposite direction
Naturally, you want to give your user the ability to pan the camera to the right as well as to the left. The procedure to add a keyboard input to pan left is similar to the keyboard input procedure you just completed.
1 |
You've already used the Keyboard Input behavior once, making it part of your cast. Drag the Keyboard Input behavior from the Cast window to the Magic tricks sprite on the Stage.
|
2 |
In the Parameters for Keyboard Input dialog box, specify the following: |
![]() |
In the "Which key will be used?" pop-up menu, select Right Arrow. |
![]() |
Verify that the second text box is blank and that "No modifier key" appears in the third text box. |
![]() |
In the Select a Group and Its Action pop-up menu, select Pan - Pan Camera Right. Then click OK.
|
![]() |
![]() ![]() ![]() |