Device automatically does this for you. Manual Version very soon.
The ball does not use any Ai to see where the Bowl is (if you chose Smart mode), please see inside and look at the code.