Return Y axis of Camera in use

Is there a way to return the Y value of the camera in use or a specific camera?

I want to do something along the lines of

If(camera.yaxis < -90)
{
}

var camera : Camera;
----
if (camera.transform.rotation.y < -90)
----

Did you meen that?

Yeah, that should definitely work. THANKS!

Actually, that won’t work; transform.rotation.y will never be < -90.

Anyway, if you still need help with this, perhaps you could describe in more detail what you’re wanting to do.