Here’s a blueprint.
It outputs to the screen the X and Y coordinates clamped to 1920x1080 - make sure you enable input on the blueprint