Is RPC used for player movement?

In my multiplayer (photon) game, should I be using RPC for input controls moving my player left / right? Or should they just be used for things like firing weapons etc? Thanks

From my research that is a perfectly acceptable and fairly common way to do it. It’s how I’m doing it anyway. The client sends input to the server then the server uses that input to decide where to move then sends an RPC to the client telling it the result and the client then lerps toward the new position

Oh sorry you said Photon, I didn’t see that the first time. I don’t know then sorry.

Well in my game, I just do movement like this:

if (Input.GetMouseButton(0))

                    {
                        rb2D.transform.position += new Vector3(distance, distance1, 0f);
                    }

Is it acceptable to do movement like this or do I risk running into problems later if I don’t use RPC for it?

I didn’t see that you meant Photon. Sorry I only know about UNET and the legacy networking.