Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# GuiArrowSpecification - Runtime Docs

## GuiArrowSpecification :: table

Used for specifying where a GUI arrow should point to.

#### Table fields

margin | :: uint32 |
type | :: GuiArrowType | This determines which of the following fields will be required.
This determines which of the following fields will be required.

Other attributes may be specified depending on `type`:

#### `entity`

entity | :: LuaEntity |

#### `position`

position | :: MapPosition |

#### `crafting_queue`

crafting_queueindex | :: uint32 | Index in the crafting queue to point to.
Index in the crafting queue to point to.

#### `item_stack`

inventory_index | :: defines.inventory | Which inventory the stack is in.
Which inventory the stack is in.
item_stack_index | :: uint32 | Which stack to point to.
Which stack to point to.
source | :: `"player"` or `"target"` or `"player-quickbar"` |

Concept used in

- LuaGameScript::show_message_dialog()