Disabling Canvas if View is not mine.

Hi Team,

I'm fairly new to this, and am stuck with the Canvas.

I have disabled the camera if the !View.IsMine, but I can't seem to disable the canvas?

Whenever the player collides and the TMP activates, it activates on both clients. I'm using a basic prompt selection system, so it would suck if each client would see the prompts activated by other players.

I have tried using this:

    private void Update()
            playerPrefab.GetComponentInChildren<Canvas>().enabled = false;

Would anyone be able to help me?

Big thanks!