My racking cane had a clip to hold it to the side of the bucket. I just clipped it so the end was way above the trub to start and then lowered it as the beer was removed.
It won't hurt if you get a little bit of the yeast either, since it has already clumped up and settled out, it settles pretty fast again.