Unity Visual Scripting

Visual scripting in Unity empowers creators to develop gameplay mechanics or interaction logic using a visual, graph-based system instead of writing lines of traditional code.

Watch a tutorial

Want to get started with visual scripting as soon as possible? This quick-start tutorial introduces the basics of creating node-based logic to help you make your own games using visual scripting in Unity.

Key benefits
Visual scripting intro

Create scripting logic visually

Visual scripting in Unity helps team members create scripting logic with visual, drag-and-drop graphs instead of writing code from scratch. It also enables more seamless collaboration between programmers, artists, and designers for faster prototyping and iteration.

Enhanced controls for programmers and artists

Enhanced control for artists and designers

Visual scripting is a great solution for both designers and artists who want to test ideas, make changes, or maintain more direct control over their work in Unity. Non-programmers can also make use of custom nodes and graphs created by more technical team members.

Programmers working together

Programmers can empower their team

Create custom nodes with visual scripting to help streamline collaboration across your team – from artists to designers. This way, more members of your team can conveniently work together while prototyping or in production, regardless of their level of programming knowledge.

Features

Script Graphs

Script Graphs are the main tool for creating interactions in your projects. Using node-based actions and values, these graphs let you execute logic in any order you specify, be it at every frame or when an event occurs.

State Graphs

State Graphs allow you to create self-contained behaviors that tell objects what actions to execute when they are in a particular state. They are suited for high-level logic such as AI behaviors, scene or level structure, or any aspect of a scene that requires behaviors that transition between states.

Live editing

Make changes to graphs in Play mode to see visual scripting updates in real-time. This approach offers a much faster way to iterate and test ideas without needing to recompile project changes.

Debugging and analysis

Visual scripting is designed to show values throughout the graph during Play mode, and it will highlight which nodes are being executed as it happens. If an error occurs at runtime, the source will be identified and highlighted within the graph.

Designed for ease of use

Increase accessibility for less-technical creators with user-friendly naming conventions, commenting and grouping features that keep graphs simple to read, and the Fuzzy Finder menu, which makes it easy to search for what you need.

Codebase compatibility

Use a method, field, property, or event from Unity, any third-party plug-in, or even custom scripts within your graphs. Visual scripting directly accesses your codebase via reflection and is always up to date.

Learn more

Unity Learn

This full Unity Learn course is designed to help you get started with visual scripting.

Documentation

Read the Unity documentation to learn more about visual scripting in Unity.

Community

Check out the forums to get help from the community and hear the latest about visual scripting in Unity.

Ready to get started?

Download Unity 2021 or above to have Unity Visual Scripting available automatically within the Editor. For 2018, 2019, and 2020 Unity releases, Unity Visual Scripting (formerly known as Bolt) is available to download for free from the Unity Asset Store.

Frequently asked questions

What is visual scripting?

Visual scripting is a graphical way to manipulate objects and behaviors in Unity without writing code from scratch. The logic is built by connecting visual nodes together, empowering artists, designers, and programmers to create gameplay and interactive systems in a simple way.

How can I access visual scripting?

Download Unity 2021 or above to have Unity Visual Scripting available automatically within the Editor.

For 2018, 2019, and 2020 releases, visual scripting is available to download for free from the Unity Asset Store.

What is the Unity Asset Store?

The Unity Asset Store is a marketplace with thousands of free or affordably priced assets that save time and effort for Unity creators. It is a powerful resource for successful Unity developers that offers over 60,000 packs featuring tools and Editor extensions, 3D and 2D art, cinematic quality music and sound effects, and more.

What versions of Unity does Bolt Visual Scripting support?

Bolt Visual Scripting will continue to support projects on Unity 2018, 2019, and 2020 LTS versions.

How will visual scripting evolve in Unity?

You can follow the latest updates of Unity Visual Scripting by visiting our new Unity Platform — Gameplay & UI Design Roadmap, and please share your feedback directly with the product team.

What about DOTS-based visual scripting?

Unity is in the process of evaluating the future of visual scripting in consideration of Bolt, Bolt 2, and our DOTS-based visual scripting solution. Our goal is to create a single, cohesive solution that does not result in broken features or fractured communities, and that meets user expectations around production readiness. For more information on the evolution of visual scripting, please join us in the forums.

We use cookies to ensure that we give you the best experience on our website. Visit our cookie policy page for more information.

Got it