To achieve that, the engineers will have to include multiple cell types and devise a system that allows the lab-built creature to sense its environment and use an internal "decision-making circuit" to pick different behaviors.
WSJ: Jellyfish Hints at Fix for Damaged Hearts