How to detect which direction player is facing for custom blocks

Hello, i'm trying to implement a custom statue into my game as variants for other vanilla blocks. I followed the tutorial by WASD Build Team but it didn't cover how to make my block face opposite of my player when placed. So now my statue just faces only 1 direction. What is the command or code I need to make it the way I need?

Continue to help post