Let's say we have an arrangement of spins in 2D space (as given in the below picture).
Assume that the $z$-axis is out of the plane and a spin (circled in red) makes an angle $\theta$ with the $x$-axis. This spin precesses in its direction. If it precesses of course it has some component in the $z$-direction. One can construct the $x$-(or $y$-) direction component of spin by measuring the angle $\theta$. For example, $\hat S_x = \hbar \cos \theta$ and $\hat S_y = \hbar \sin \theta$. This kind of decomposition is readily available from the already known direction of spin. But I can't see how can we measure the $z$-component of spin in this formalism. Is there any way to measure the $z$-component of spin for this kind of spin arrangement?