particles setTo function implemented