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

# Factorio Runtime Docs Version 2.0.7

## 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.