πŸŸͺ Get from Object

πŸŸͺ Get from Object


Get from Object


The Get from Object block lets you read a specific value stored inside an Object variable (structured key/value data, like a JSON object).


It is the counterpart of the "Get from list" block, but for data identified by name rather than by position. It is useful for reading a specific piece of information from a player record, an API response, or any other structured data imported into the project.


πŸ“₯ Inputs


  • object (Object): The Object variable to search in.
  • path (Text): The path to the value you're looking for inside the object (e.g. score, name, or address.city for a nested value).
  • default (Text, Number, Boolean, List or Object): The value returned if the path isn't found (or if the value found is empty/null).


πŸ“€ Outputs


  • value (Dynamic variable): The value found at the requested path. Its type adjusts automatically based on what's found (text, number, list, nested object...).
  • found (Boolean): true if a value was found at the requested path (a null value counts as "not found").


πŸ’‘ Example


Scenario: Displaying a player's score received from an API


  1. An HTTP request returns a player object containing {"name": "Alice", "score": 1200}.
  2. You want to display only the score in a dialogue bubble.
  3. Add a Get from Object block, and connect the received object variable to the object input.
  4. Type score in the path input.
  5. The value output returns 1200, ready to be displayed or used further down the flow.


βš™οΈ Technical Details


  • Internal ID: getFromObject
  • Nested paths: To access a nested property, use dot notation (e.g. address.city) or brackets for a list item (e.g. items[0].id).
  • Value not found: If the path doesn't lead to any value (or leads to an empty one), the value output returns the default value and the found output is false β€” instead of silently breaking the flow.



Documented version: v1

Updated on: 06/09/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!