How to make an object invisible for one player in splitscreen?

I am working on a splitscreen multiplayer game, and I have a blueprint object which should only be visible to one of the players.

However I’m struggling to find a way to achieve this, there is one question on the answerhub that asks this here. But it has no replies.

Any help would be great.

Hello Gamepopper,

So, there are multiple parts to this issue which require a number of systems working together.

The first is the object itself. You would need to create a static mesh/skeletal mesh, or whatever you are using for the object you want to hide, and assign this to a blueprint. From there you would add this to the scene.

Now, in multiplayer, you have two player starts. Each need to be assigned to a blueprint. From there you would need to assign a flag to both players essentially allowing them to see the object and for the object to be called for both players. Then what you would do is assign an array that would call each player and assign the object to those characters to be seen when you play the game. From there you would need to turn off the ability to see the object for one of those players.

I highly recommend looking into this thread for clarity and for information on the questions of other users regarding similar issues.