vfx_apply
Applies an uploaded bake or texture id to Studio instances, setting ParticleEmitter flipbook options, Beam/Trail/Decal Texture, or MeshPart TextureID. Also creates new instances and sets extra properties in the same call.
Instructions
Puts an uploaded bake (or any texture id) on instances in Studio, with the flipbook settings a sheet needs (FlipbookLayout, FlipbookMode, FlipbookFramerate for a loop) on a ParticleEmitter; Texture on a Beam, Trail or Decal, TextureID on a MeshPart. targets: existing instances; create: { parent, name?, className? } makes a new one (default ParticleEmitter). properties: more values set in the same call (same format as set_properties).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bake | No | An uploaded bake; its recipe gives the flipbook settings | |
| create | No | ||
| targets | No | ||
| texture | No | A texture id instead of a bake (no flipbook settings) | |
| studio_id | No | Studio id from Roblox's list_roblox_studios; optional when one Studio is open | |
| properties | No |