I want to move all the actors in a project at once

Hi,

I have a project with +100k actors and I need to move them all up substracting -21180.0 to their z position.
It is impossible to do it manually because the editor cannot handle such a number of actors.

I am sure that there is a simple solution with a button in a blueprint script. The must happen when the game is not running, so it is an in editor function.

If anyone can give me a small script or a tutorial about how to loop between all the actors and transform them to a different position that will help me.

Thanks

Create a new utility widget, add a button, makes sure to specify class from the dropdown, add script:

Run the widget.

I am sure that there is a simple
solution with a button in a blueprint
script.

The EUW can be made like so:

343301-screenshot-1.png

Running it:

343302-screenshot-3.png

Should be the same - Instanced Foliage Class is the class afair.

Great answer, it worked but not with the foliage. Any solution to move the foliage as well?

Yes, it works, but when you use GetAllLevelActors, it does not take the foliage. I guess it is not considered as an actor.
Thanks

I mean use the class filter, for the class I mentioned.