How to change navigation cost in realtime

I’m placing movable actors with NavModifierComponents attached to them. The components take a NavArea class that defines the custom costs