Filtering points from external array

Hi Community,

Do you known any recipe for hiding points individually (filtering ?) dynamically ? I may need to hide them from an external visibility array like [0, 1, 1, 0, 1, …] where 1 means visible, for example.

Any idea on how to achieve this function ?

Best regards,