renderer.enabled vs active

Hi,
I was wondering if I can use renderer.enabled to detect weather or not an object is active whenever I use SetActiveRecursive in my javascripts. If not and if renderer.enabled is only used to detect weather or not the renderer for an object is turned on or off, what would I use to detect if an object is active or not?

Thank you,
Michael S. Lowe

I never tried if before, but cant you just put?

if(stringToObject.active==true) { 
//let me know
}

You forgot the :smile: !