Equivalent of swizzle in script

Is there an equivalent to the swizzle patch in script?

Not that I know of unfortunately. You need to R.pack3(p.x, p.y, p.z) - p being a point 3 or 4 signal.

I have an implement of β€˜swizzle’, and created a pull requests for community snippets.