tpt.start_getPartIndex() crashes the game right now. That is a very old api too, iterating over sim.parts() is a much better solution than using these old functions.
By using the all-seeing eye sampler, you can exactly sample a particle(including its properties) And create particle mixtures(patterned or non-patterned)
It creates two new tools in the tools menu for sampling (which even changes color depending on what particle(s) you have selected). There are 3 modes and a bunch of key shortcuts. One of the modes allows you to easily create mixtures of elements, by sampling multiple particles at once, then when you draw it randomly changes each drawn particle to one of the sampled ones. You can also set the weight each particle is created with. The 3rd mode is the patterned mode, didn't play around with it much.
My only complaint is that most of the key shortcuts require a numpad so I can't use them ...
@jacob1 The Window and Button fields don't work for the android port, so could you provide an exception or an alternative way to create new buttons and windows?
@DUC(View Post) Eventually those will be supported, but probably not soon. You can use the graphics functions to draw fake windows, like tptmp, the script manager and all of jward212's scripts do.