How to make RenderTarget not show certain mesh

How are you rendering to the target?

Hello,
I want to filter a mesh in my RenderTarget2D, in this case the mesh of the current player I’m controlling.
Here is the problem : i made the player mesh invisible for the player controlling it by this checkbox “owner no see”.
it works fine but when i use the RenderTarget (the RenderTarget is a weapon scope here and game is a TPS) i can see my own player mesh through it.

  • Is there anyway i could make it not show my player mesh in RenderTarget?

I’m using SceneCaptureComponent2D. @HarryHighDef

On the bright side you just came up with a way to make a feature where the player can only see a cloaked monster through special viewing equipment