Raycasting a random position on a screen

Hi! I would like to know how could i raycast a part in a random position on the player’s view

you want to be in ScreenGui or where?

I guess so. Thats why im asking.