Ai Sensor Class competition class identification

Is the AI sensor able to detect game elements on vscode if so how? I tried looking for how to do it in the API for the ai sensor but can’t find it. Any help would be appreciated,