Behaviours implemented using a vision system based on coded light projection