How to reset all instances of a blueprint at once?

Hey all, trying to figure something out and I’m having a bit of an issue. Basically, I have 4 planes that when the player passes have their material change, and when all 4 are changed, they reset to the normal material. However, after the fourth material is reset, only the plane that gets passed in the moment gets reset. I’ve tried various ways and workarounds to make them all change, but nothing that I’ve tried so far has succeeded. I’m at my wits end, so if anyone has a solution I haven’t thought of, I would appreciate the help.



Many thanks, I’m under a bit of time pressure

hi @tupe12

If you wish to reset ALL instances of the same BP class then use

Get All Actors Of Class and set the varibles/changes etc to each item through a for loop

sorry to sound clueless, but how?

Blue arrow change the box to your “BP_Passthing” type

Red arrow is a GET so yours would be GET PLANE

that will get all the actors of type BP_PASSTHING and change the material of each one

Alright that seems to be working, thank you very much

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.