📚
DimX Bonfire & Sparks
  • 👋Welcome to Bonfire
  • đŸŽŸī¸Fundamentals
    • đŸ› ī¸Getting Started
      • 📘Bonfire Tutorial Videos
      • ⚡Supercharge Your Workflow with ChatGPT for Bonfire
      • đŸ“ĻInstallation Instructions
      • đŸ‘ĒAccount Setup
      • 🚀The Bonfire Launcher
      • 🎮Interface Guide and Controls
      • 🧱Core Concepts
      • âŦ‡ī¸Downloading Spark Content
      • đŸ–Ĩī¸Platform Support
      • 📖Bonfire Lite vs Pro
    • 🔨Builder
      • 🧰Start Building
      • 📖Menu
      • 🔧The Toolbar
      • đŸĒŸPanels
      • đŸ§™â€â™‚ī¸Built-in Content
      • đŸ§™â€â™‚ī¸User-Generated Content
      • 🏃Behavior Nodes
      • â„šī¸Traits
      • đŸ—’ī¸Presets
    • â–ļī¸Player
    • đŸ—ēī¸Mapifier
    • đŸŒŠī¸Sparkifier
    • ⚡Sparks
  • đŸ”ĨEmber
    • Base API
    • Extended API
      • Intrinsics
        • InvokeOutput
        • Mod
        • SparkRef
      • Return Types
        • Spark (ValMap)
          • Traits (ValMap)
    • Important Notes and Best Practices
  • â›ī¸Diving Deeper
    • Bonfire Best Practices
    • Workarounds
    • Tips and Tricks
  • Release Notes
    • Bonfire v1.18.8.1
    • Bonfire v1.18.7.3
    • Bonfire v1.18.6
    • Bonfire v1.18.5
    • Bonfire v1.18.4
    • Bonfire v1.18.3
    • Bonfire v1.18.2
    • Bonfire v1.18.1
    • Bonfire v1.18.0
    • Bonfire v1.17.0
    • Bonfire v1.16.0
    • Bonfire v1.15.0
  • Links
    • Support Site
    • Bonfire Tutorial Videos Playlist
Powered by GitBook
On this page

Was this helpful?

  1. Ember
  2. Extended API

Return Types

Where possible, we use an internal system called "Minify" to auto-extract and assign all the various values a given target object may have and make them available via dynamically built ValMaps (dictionaries).

However, given the complex nature of Bonfire and Sparks, and the need to ensure Spark authors can control what can or cannot be changed, there are cases where we opt to selectively construct the ValMaps by hand.

Due to these forked approaches, you may notice some ValMaps follow a known pattern while others don't. This will be improved with time, but for now, it is just the nature of the early state of the language. When in doubt, use the print command to dump the contents of your variable to the Console so you can see the structure.

PreviousSparkRefNextSpark (ValMap)

Last updated 6 months ago

Was this helpful?

đŸ”Ĩ