How to cast a variable from HUD to a ThirdPlayerCharacter?

I did a bit different, i open the ThirdPlayerCharacter and did this:

It works almost perfect except that “Get Viewport Size” has a resolution of 1280x720 and the Cursor Position has a resolution of 1920x1080.
So the Viewport Size is the real Game window resolution right? But why is the cursor giving a higher resolution?