Change navigated screen transition

How to change navigated screen transition. The default transition is from down to up. But I want to change the transition from right to left.

For example I am on screen 1, then I press a button, so it will show a transition from right to left, then it will go to screen 2.

Use stack navigator to do that

I’ve use stack navigator and I change the mode to card. But why the transition don’t change?

when i change it to modal it has the normal animation.
but when i change it to card it goes from left to right.
but it doesn´t play an animation.