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

# Factorio Runtime Docs Version 2.0.77

# PipeConnection - Runtime Docs

## PipeConnection :: table

A single pipe connection for a given fluidbox.

#### Table fields

flow_direction | :: FluidFlowDirection |
connection_type | :: PipeConnectionType |
position | :: MapPosition | The absolute position of this connection within the entity.
The absolute position of this connection within the entity.
target_position | :: MapPosition | The absolute position of the connection's intended target.
The absolute position of the connection's intended target.
target | :: LuaFluidBox? | The connected fluidbox, if any.
The connected fluidbox, if any.
target_fluidbox_index | :: uint32? | The index of the target fluidbox, if any.
The index of the target fluidbox, if any.
target_pipe_connection_index | :: uint32? | The index of the target fluidbox pipe connection, if any.
The index of the target fluidbox pipe connection, if any.

Concept used in

- LuaFluidBox::get_pipe_connections()