Box BP ( it just contains a cube )
In this example, I set
The ‘End play’ event runs when an actor is destroyed. You can destroy the cube any way you want. At the moment, I’m just doing a line trace from the player and using ‘destroy actor’.