Is there any command that trace colors or vectors?

hi all experts and community of great kirupa site :slight_smile:

i was wondering if actionscript does have anything that allow it to trace colors or vectors on the screen, example. i have a moving red rounded shape, so action script will identefy its _x,_y,Wedth, Height, …!

just wondering:look:?