How can I activate and deactivate raytracing features dynamically?

I am making a game that uses raytracing and I have no idea on how to toggle the different effects on and off from the graphics options menu of the game. Other games that use UE4 let you switch on and off raytracing features or raytracing in general at least, how can i do that?

Not sure, but there’s a QualitySwitchReplace node that could be usable in a blueprint for the options screen where that’d be enabled / disabled.