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

# Factorio Runtime Docs Version 2.0.77

# TrainStopGoal - Runtime Docs

## TrainStopGoal :: table

#### Table fields

train_stop | :: LuaEntity | Train stop target. Must be connected to rail (LuaEntity::connected_rail returns valid LuaEntity).
Train stop target. Must be connected to rail (LuaEntity::connected_rail returns valid LuaEntity).
priority | :: uint8? | Goal priority. If not provided, defaults to LuaEntity::train_stop_priority of provided train_stop.
Goal priority. If not provided, defaults to LuaEntity::train_stop_priority of provided train_stop.

Concept used in

- TrainPathFinderGoal