How can I change text direction on a Mac?

I need to write in Hebrew from right to left but I can’t find where to change it. LibreOffice on Linux Mint allows me to change the direction under Format --Page–Page–Text direction. But in the Mac version I can’t find this option. How can I change the text direction on a Mac?

Well, I found my self the solution. The option to change the text direction appears after setting the CTL language to hebrew, then you can change the direction to Left to Right.