Render Custom Depth Blueprint

Hey.
I have a mesh in my scene that I would like to flip the boolean for “render custom depth”. I know a function exists for changing it. How do I go about changing that value when a player enters a trigger volume. I can get the “render custom depth” function in level blueprint, but how do I get it to reference the mesh as the target on begin collision with trigger volume?