arrow Number

Get the number that matches an arrow image name.

North
function arrowNumber(arrow: ArrowNames): number;

Each arrow image name has a number for it. You can find the number for any arrow name with arrow number.

Parameters

  • arrow: the arrow name to get an arrow number for. These are the arrow names:
  • North
  • NorthEast
  • East
  • SouthEast
  • South
  • SouthWest
  • West
  • NorthWest

Example

Get the arrow number for ArrowNames.South.

SouthsetarrowSouthNumbertoon start

See also

arrow image

SouthsetarrowSouthNumbertoon start