How to make character rotation snap to either 0,45,90,135... degrees

I can’t seem to find the “nearest” node?