//if the mouse leaves this collider void OnMouseExit() { CustomEvents.OnFactionEntityMouseExit(FactionEntity); //trigger custom event }