You can only get Mouse/Cursor position from Client
you can get it from PlayerController or Cast To PlayerController then get it (its only working in Client)
You can store the Value, then send to Value with RPC to Server
or, you can make it Fire the Location to Server with RPC without needing to store it
(I am sorry, i am still an amateur and never used GAS)