# What is a Data Flow?

Data flow is the flow of data for passing the processing result of a node to other nodes.

Connecting data input / output slots allows you to take advantage of data flow.

## Example

In the example using the built-in script, the following data flow can be easily assembled.

1. InstantiateGameObject instantiated prefab.
2. Output instantiated GameObject.
3. Get the Rigidbody component with Rigidbody.Get.
4. Add force with AddForceRigidbody to the received Rigidbody.

Data flow can be used in BehaviourTree as well.

## Reference link

- StateBehaviour : InstantiateGameObject
- StateBehaviour : AddForceRigidbody
- Calculator : Rigidbody.Get