Can you use a vision sensor to track the goal

You could test the default configurations in the devices menu. They are available here: VEX Visual Studio Code Extension - #93 by jpearman

Not sure what code platform you are using but here’s a tutorial for vexcode pro

Blocks: Vision Sensor - Using the Vision Sensor - Blocks-based | VEX Education