Zimension Docs

Script

Script (Advanced)

Add custom JavaScript code to extend item behavior beyond the built-in features. This is optional and intended for advanced creators.

Edit Script

  • Click Edit Script to open the code editor
  • Write custom JavaScript to control item behavior
  • Access item properties and world events

When to Use Scripts

  • Complex behaviors not possible with Logic Workflow
  • Custom calculations or algorithms
  • Advanced game mechanics
  • Integration with external data

Best Practices

  • Start with Logic Workflow - use scripting only when needed
  • Keep scripts modular and well-organized
  • Use events to communicate between scripts
  • Test thoroughly on different devices

Relationship with Logic Workflow

  • Logic Workflow is no-code
  • Scripts can trigger events and read/write variables
  • Scripts extend gameplay behavior beyond no-code limits
  • Recommended: Start with Logic Workflow, add scripts only when needed

Video Tutorial

Ep. 15: Visual Scripting

Zimension AI

Docs assistant

How can I help?

Ask anything about Zimension docs

AI may make mistakes. Always verify with official docs.