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

# Factorio Runtime Docs Version 2.0.77

# RailEndGoal - Runtime Docs

## RailEndGoal :: table

#### Table fields

rail | :: LuaEntity | Rail target.
Rail target.
direction | :: defines.rail_direction |
priority | :: uint8? | Goal priority. If not provided, defaults to 50.
Goal priority. If not provided, defaults to 50.

Concept used in

- TrainPathFinderGoal