I found in my old files, which had experienced on LUA language.
Autonomous behaviors in LUA, Daniel Shifftman has inspired me with his amazing classes at Vimeo, and I’ve migrated to Corona.
Here is how looks like: https://www.youtube.com/watch?v=3PdHpxzC7Bw
Here is a source code in LUA: http://www.chupamobile.com/corona-full-games/autonomous-behaviors-example-code-in-corona-sdk-1000
include: FLOCK, ARRIVE, WANDER, STEERING, FOLLOW THE PATH & All together.
Not what I was thinking when I started to use lua!