useScreenGesture() returns the screen navigation pan gesture ref. Use it when a custom Gesture Handler gesture needs a relationship with the navigator gesture.
TSX
Target an ancestor navigator with negative depth:
TSX
useScreenGesture() supports the current screen and ancestors. Positive depth is not valid here because gesture ownership only walks upward.