Get Weather At
The weather at a place the scene names of its own (a Weather layer's place, or scene.json's places).
ƒGet Weather At
PlaceTokyoCondition
Temperature
Known
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Placeplace | text | "Tokyo" | – |
Outputs
| Pin | Type |
|---|---|
Conditioncondition | text |
Temperaturetemperature | number |
Knownknown | bool |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.log((String((scene.weatherAt("Tokyo") || {}).condition || "")));In a graph
◆On Scene Start
ƒGet Weather At
PlaceTokyoCondition
Temperature
Known
ƒPrint
In Text
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.