Changing a Variable Through Client Is not Shown By Server

Is there a way I can store a hit result from a client in a variable and have the server’s variable be that variable.
For example when I run this blue print


The printed values will be the same for client and server as opposed to this.

(the server shows x=0 y=0 z=0 because that is what the value is originally set at, it is not updating when the client sets the new variable)

2 Likes

You have to pass the variable to the function. Try it like this:

1 Like