thats already a thing in the lua api
@6nop6nop I'm pretty sure that the Lua API only allows for modifying the weight of elements, not individual particles as @Ilovegam3z suggested.