Position of the mouse on the screen when in first person

Is there a specific position the mouse is placed at when you are in first person? I have crosshairs placed at the center of my screen in my game but the position of the mouse seems to vary depending on the screen size, so the crosshairs end up higher than the spot they are actually shooting at.

1 Like

Have you tried setting your UI crosshair’s position scaled coordinates to .5, .5? That’ll make it centered on any screen size. Then, just subtract half of it’s X and Y size to get it dead in the center. Might need to offset it a few pixels to get it to align right with the mouse’ icon, but yeah, this is what I always do for this kind of stuff and I’ve never had a problem with it.

1 Like

Seems to be placed too high when I do that.


The UI is 0.8 by 0.8 with position scaled coordinates of 0.1 by 0.1

Actually I think I got it, just had to add a pixel offset to it, looks to be about 17 pixels above the center

1 Like

Sweet! The great thing about using Scaled for position is that you can always be sure it’ll be in the same spot for every viewport.