Use the arrow keys to nudge an object around in its XY plane.
Category
Latest Behaviors
Author
Gavin Kistner
Difficulty
(Reference)
Time to Complete
5 Minutes
Downloads
Click Here
to download the associated files.
(This document covers version 1.0.4 of the 'Arrow Nudge' behavior, current as of 2005-Apr-08)
Description
The
Nudge By
property controls how far the object moves when an arrow key is pressed. (The object moves by 10 times this value when the shift key is down and an arrow key is pressed.)
If
Use Selected Color?
is checked, the object will change to the Selected Color when focused (by clicking on it).
If
Start With Focus?
is checked, the object will initially get the focus as though it had been clicked on. (If more than one behavior specifies this option, the last one to run will get focus.)
This behavior uses the
Focusable
behavior to track which text object is selected; see that behavior for events which may fire on the parent object.
Basic Properties
Nudge By
The amount to move the position by when the arrow keys are pressed.