How do I get the face of my mesh my cursor hits?

Oh, OK. If the cube is aligned with the world axes, then you don’t need the unrotate, obviously.