Hello How do I get the V Key to toggle invisibility for my Enemy Characters?

So I have been playing around with the idea of having enemies be invisible until the player switches their vision type with V. The vision using a post process filter was successful but any time I try to affect the Enemy characters, mesh, set visibility, inputs into ai controller, behavior tree, etc. I don’t know what is stopping me from doing something that feels like it should be simple to me.