Wondering how to make a Crosshair that fires from the center of your screen?

Im wondering generally how i would make a crosshair at the center of the screen for mobile players that fires from center of the screen. If i use ray casting, where would the origin be???

You formulated your question wrong. To make a crosshair at the center, you just make a ui with anchor point 0.5, 0.5 and the same position.

If you mean how to make ray fire from centre to the centre, then
origin = workspace.CurrentCamera.CFrame
direction = workspace.CurrentCamer.CFrame.LookVector*100(Instead of 100 put whatever distance)

this doesnt work it says attempt to cast cframe to vector3

origin = workspace.CurrentCamera.CFrame.Position

thanks g
eeeeeeeeeeeeeeeeeeeeeeee