Making certain actors not effected by depth of field (DOF)

I’ve been playing around with background/ foreground blur for my current game project but I have certain actors/ objects I’d like to always be in focus,
I think with a post processor there might be a way to make certain objects unaffected by it but I’m not sure how-

(Like this little item, as you can see when I go forwards/ backwards it gets blurry/ clear, I’d like it to always be clear!)

This is my camera blur set up!

Any ideas/ help would be greatly appreciated! :grinning_face_with_smiling_eyes:

Mini update:
I changed the DOF blur to be done in a post processor, but I still can’t figure out how to exclude the object… :thinking:

Okay! Another update!
I’ve managed to make it so it’s not effected by the blur, HOWEVER, al it’s colour/ texture is now gone (and green? :sob:)


I did this by setting the Custom Depth stencil value to 1!

Now I just need to get the colour back… I am quite a noob when it comes to material blueprints so any help or ideas would be greatly appreciated! :sob:

Although, around the edge it still gets blurry when the player walks away (as well as being green :skull:)
I hope there’s just a way to have the object completely excluded from the effects of the post processing volume?

Uploading: Untitled video - Made with Clipchamp.mp4…

The water material I’m using from a Marketplace pack isn’t effected by the blur also, I just want to be able to apply this effect to specific actors in my scene (since it must be possible if the water isn’t effected??)

Just realised the video didn’t upload on one of my last posts… :skull:
Here it is!