White dots on Basing Candles

Can you tell me what kind of code i should use to create those white dots on basing candles?

body < range/2