The Torresian flying-fox is found in rainforest and forests along beaches.