Anyone knows how to add mask to Particles2D?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By pospathos
:warning: Old Version Published before Godot 3 was released.

Documentation mentions that you can add mask to particles when disscusing Half Extent option but does not say how to add mask. In examples there is particle with mask but I can’t figure out where is that option in the Inspector.

:bust_in_silhouette: Reply From: mollusca

It’s not in the inspector, it’s a button in the toolbar right above the 2D viewport. You can also do it in script with set_emission_points( Vector2Array points ). The point coordinates should be in the -1.0 to 1.0 range.