mouse state through tree