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

# Factorio Prototype Docs Version 2.0.77

# SpiderLegTriggerEffect - Prototype Docs

## SpiderLegTriggerEffect :: struct

## Properties

- default
- sorted

position | :: float | A number between 0 and 1 (inclusive) representing the distance from the upper end of the leg (0) to the lower end of the leg (1) where the effects will be triggered. [...]
A number between 0 and 1 (inclusive) representing the distance from the upper end of the leg (0) to the lower end of the leg (1) where the effects will be triggered. [...]
effect | :: TriggerEffect |

effect | :: TriggerEffect |
position | :: float | A number between 0 and 1 (inclusive) representing the distance from the upper end of the leg (0) to the lower end of the leg (1) where the effects will be triggered. [...]
A number between 0 and 1 (inclusive) representing the distance from the upper end of the leg (0) to the lower end of the leg (1) where the effects will be triggered. [...]

## Properties

### position :: float

A number between 0 and 1 (inclusive) representing the distance from the upper end of the leg (0) to the lower end of the leg (1) where the effects will be triggered. For the upper leg, position 0 represents the point that the leg connects to the entity's hip and position 1 represents the knee. For the lower leg, position 0 represents the knee and position 1 represents the foot.

### effect :: TriggerEffect

Type used in

- SpiderLegPrototype::upper_leg_dying_trigger_effects
- SpiderLegPrototype::lower_leg_dying_trigger_effects