Recipes
Complete, working visual scripts you can copy and adapt. Each recipe states what it does, lists every node in the graph, and explains what to change to make it your own.
All of these are taken from real scripts in Plasma projects and the engine's own test suite, not written for the documentation — so they reflect how the system is actually used.
| Recipe | What it teaches |
|---|---|
| Jump Pad | React to a trigger and push a physics object. Exposed variables, message handlers, sending messages. |
| Interaction Feedback | React to the player interacting, find a component, change one of its properties. |
| Raycast and Debug Draw | Cast a ray every frame, branch on whether it hit, and draw the result on screen. |
How to read a recipe
Each recipe shows the graph as a list of connections in this form:
NodeA [OutputPin] -> NodeB [InputPin]
NodeA [exec] -> NodeB [exec]
[exec] is the grey arrow-shaped execution pin that controls order. Everything
else is a data pin. If that distinction is new, read
Execution Flow and Pins
first.
See Also
- Key Nodes — what the individual nodes do
- Entry Points and Events — how a script starts running