How to turn off visibility rect for Particles2D?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Elendir

Is there any option in GUI to turn off entirely visibility rectangle for Particles2D node in the 2D viewport? Normally this is not a problem, but I have lots of Particles2D nodes in the scene which causes the whole 2D viewport to be totally messed with thin blue lines of those rects.

I don’t think so. Here’s 2 possible workarounds: 1. Hide the nodes in editor, then show them runtime via script. 2. If they don’t need to be placed by hand, consider instancing them in code removing them altogether from editor.

aXu_AP | 2021-10-18 19:52

Thanks,

Well, I solved the problem meanwhile. Actually it was pretty close to what you suggested. I decided (for a totally different reason related to another issue) to remove Particle2D nodes entirely. So the main scene doesn’t have any of them. In the code I spawn Particles2D nodes when they are needed. Thanks again for your answer.

Elendir | 2021-10-19 06:34