ReferenceScript nodesUtilities › Map
Add
Keeps a value under a key (taking the place of what was there).
ƒAdd
Target Map
Key
Value
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Target Mapmap | map | – | – |
Keykey | any (key) | – | – |
Valuevalue | any | – | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
In a graph
◆On Scene Start
ƒAdd
Target Map
Key
Value
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.