Function LET_LUA_KNOW_THE_MOVING_DIRECTION() saves x, y position each moment and compares with previous x, y position. You can set "const" value by your own to change sensevity.
Downloads: 173 - Level ID: 14423