1 2 3 4 5 6 7 8 9
let orange = scene.get_object("Orange Cube"); onSceneStart() { orange.x = -5; } onSceneUpdate() { orange.rotation.y += 2 * delta; }