Getting Started

From an empty account to a moving object, in six steps. Nothing to install.

Your first script

  1. 1
    Create a game

    Sign in to Horizon Editor and press Create New Game. A title is all it asks for. There is nothing to install and nothing to scaffold.

  2. 2
    Put something in the scene

    Add an object from the Hierarchy panel, then give it a Mesh in the Inspector — either one of your own imported .glb files from the Assets panel, or a primitive. You want a camera pointed at it too.

  3. 3
    Attach a script

    With the object selected, add a Script component from the Inspector and open the Scripting tab. A script drives the object it is attached to, which is why none of the movement nodes ask you which object to move.

  4. 4
    Wire up a trigger

    Drag in an On Every Frame node. Triggers are the only entry points — anything not reachable from one never runs, and a script with no trigger will not compile.

  5. 5
    Make it move

    Add a Translate node and wire the trigger's flow output into its flow input. Then add a Value node set to type float and value 0.1, and wire it into Translate's y input. Leave x and z unwired; they default to 0.

  6. 6
    Play it

    Press Play in the toolbar. The object rises by 0.1 every frame. Stop returns you to the scene with nothing changed.

Two things that catch everyone out

int and float never mix
They are distinct types and nothing converts between them on its own. A loop counter is an int; every transform input is a float. Put a To Float node between them. This is the most common reason a graph refuses to build.
Held keys and tapped keys are different nodes
Key Pressed stays true while a key is down, which is what movement wants. Key Just Pressed is true for exactly one frame, which is what jumping and shooting want.

Next steps