Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Runtime Docs Version 2.0.7

## RailEndStart :: table

#### Table fields

rail | :: LuaEntity |
direction | :: defines.rail_direction |
allow_path_within_segment | :: boolean? | Defaults to `true`. Providing false will cause the pathfinder to reject a path that starts here and ends in the same segment as the path would be too short to provide correct alignment with a goal.
Defaults to `true`. Providing false will cause the pathfinder to reject a path that starts here and ends in the same segment as the path would be too short to provide correct alignment with a goal.
is_front | :: boolean? | Defaults to `false`.
Defaults to `false`.
priority | :: uint8? | Start priority. Defaults to `50`.
Start priority. Defaults to `50`.