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

# Factorio Prototype Docs Version 2.0.77

# AreaTriggerItem - Prototype Docs

## AreaTriggerItem :: struct

Inherits from TriggerItem

## Properties

- default
- sorted

type | :: `"area"` |
radius | :: double |
trigger_from_target optional | :: boolean |
target_entities optional | :: boolean |
target_enemies optional | :: boolean |
show_in_tooltip optional | :: boolean |
collision_mode optional | :: `"distance-from-collision-box"` or `"distance-from-center"` |

Inherited from TriggerItem

entity_flags optional | :: EntityPrototypeFlags | Only prototypes with these flags are affected by the trigger item.
Only prototypes with these flags are affected by the trigger item.
collision_mask optional | :: CollisionMaskConnector | Only prototypes with these collision masks are affected by the trigger item.
Only prototypes with these collision masks are affected by the trigger item.
ignore_collision_condition optional | :: boolean |
trigger_target_mask optional | :: TriggerTargetMask | The trigger affects only prototypes with these masks.
The trigger affects only prototypes with these masks.
repeat_count optional | :: uint32 |
probability optional | :: float | Must be greater than 0 and less than or equal to 1.
Must be greater than 0 and less than or equal to 1.
action_delivery optional | :: TriggerDelivery or array[TriggerDelivery] |
force optional | :: ForceCondition | Only entities meeting the force condition are affected by the trigger item.
Only entities meeting the force condition are affected by the trigger item.

radius | :: double |
type | :: `"area"` |
collision_mode optional | :: `"distance-from-collision-box"` or `"distance-from-center"` |
show_in_tooltip optional | :: boolean |
target_enemies optional | :: boolean |
target_entities optional | :: boolean |
trigger_from_target optional | :: boolean |

Inherited from TriggerItem

action_delivery optional | :: TriggerDelivery or array[TriggerDelivery] |
collision_mask optional | :: CollisionMaskConnector | Only prototypes with these collision masks are affected by the trigger item.
Only prototypes with these collision masks are affected by the trigger item.
entity_flags optional | :: EntityPrototypeFlags | Only prototypes with these flags are affected by the trigger item.
Only prototypes with these flags are affected by the trigger item.
force optional | :: ForceCondition | Only entities meeting the force condition are affected by the trigger item.
Only entities meeting the force condition are affected by the trigger item.
ignore_collision_condition optional | :: boolean |
probability optional | :: float | Must be greater than 0 and less than or equal to 1.
Must be greater than 0 and less than or equal to 1.
repeat_count optional | :: uint32 |
trigger_target_mask optional | :: TriggerTargetMask | The trigger affects only prototypes with these masks.
The trigger affects only prototypes with these masks.

## Properties

### type :: `"area"`

### radius :: double

### trigger_from_target :: boolean optional

Default: `false`

### target_entities :: boolean optional

Default: `true`

### target_enemies :: boolean optional

Default: `false`

### show_in_tooltip :: boolean optional

Default: `true`

### collision_mode :: `"distance-from-collision-box"` or `"distance-from-center"` optional

Default: `"distance-from-collision-box"`

Type used in

- Trigger