# VASSAL Reference Manual Home > Module > Game Piece Palette > Game Piece > Move Fixed Distance
## Move Fixed Distance
Defines a command to move the piece a fixed X and Y distance using Expressions to control the amount of movement on each axis. Description: A brief description for this trait that appears in the Piece Definer window for the piece. Useful, for example, to distinguish between several versions of this trait. Command Name: Text that appears on the piece's right-click context menu. If left blank, no context menu item will appear, but the trait can still be activated to move the piece using the key command. Keyboard shortcut: Key command or Named Key Command to initiate the movement. Distance to the right: An Expression specifying the distance to move the piece to the right. Use negative numbers to move the piece to the left. Distance upwards: An Expression specifying the distance to move the piece upwards. Use negative numbers to move the piece down. Move entire stack: Check this option to cause the entire stack containing the piece to be moved, if the stack is not expanded. Otherwise, only this piece will be moved. Advanced Options: Check this option to display additional options to give more control over the movement. The two numbers specified in the Expressions for movement right, and the two numbers for movement left are multiplied together and added to the left/up distances defined in the basic options. IMPORTANT NOTE: If this piece has a Can Rotate trait listed before this trait, then the resulting direction will be relative to the current facing of the piece. Example: If a piece has traits Can Rotate followed by Move Fixed Distance 60 upwards, then the move command will move the piece in whatever direction the top of the piece is facing. If a piece has traits Move Fixed Distance 60 upwards followed by Can Rotate then the move command will move the piece towards the top of the screen regardless of the facing of the piece. EXAMPLE: An army unit can conduct a forced march for extra movement. The amount of additional movement depends on its supply, which is tracked by a Layer trait. The Move Fixed Distance trait is given an additional offset of one hex times the value of the supply level. |
SEE ALSO: Can Rotate, Can Pivot