If you want to give the player the ability to teleport short distances around the map or move through objects, check out this video from DEVenestration. It explains how to use tags for object passthrough, perform collision checks to prevent the player from ending up inside them, and optimize your Blueprints with minimal traces.
You can get the project file, which includes the afterimage Niagara effect. You also might be interested in HeyYo's Ultra Afterimage VFX, which offers powerful control over shaders and Niagara, allowing for dynamic and customizable effects: