MV Script call for Direction Fix?

Can anyone provide me with the script call for turning direction fix for the player on and off? I can't do it through a move route because it's part of a parallel event and that causes lag. I hope something like this exists.
Hi!
I think is $gamePlayer.setDirectionFix(true/false)
Thank you so much! Now I can event a strafing effect for my player!

Original thread: https://forums.rpgmakerweb.com/threads/script-call-for-direction-fix.129480/