Acessing World Position From Depth Buffer

Hey everyone, I am new to unreal so still learning about shaders and materials. I am trying to access the world position from the depth buffer for a post-process material. However, I want to pass this information to an actor to do some operations on it. For example, I want to create an array of world location of pixels in my camera view (I know this is probably costly, but just something I want to try). I’ve taken a look at

but still am unsure how the depth to world position can be applied to a whole scene (if possible) and how to pass this information to an actor. If any of you have any tips, would love to hear them.