You would use 'On ray intersected' -> spawn object (portal) at player.lineofsight.hitx, player.lineofsight.hity
Also I recommend adding the drawing canvas over your layout. Then draw a line from the start of the raycast to the point it hits something. This will make it easier to visualize the "ray".