How to get component from other parent (trigger)?

function OnTriggerStay (other : Collider) {
if (other.CompareTag ("Enemy")) {

I am trying to access a variable from the parent of this collider, in a script called limbo
but I cannot use static variables. How would i go about on doing this?:face_with_spiral_eyes:

other.gameObject.GetComponent(whatever).someVariable

yea i got it right before you sent that. but thank you :slight_smile: