InitScript
Bring a scene to life when you press Play. Move things every frame, make new instances, or drive a whole video from code.


After: An InitScript whose loop turns each board 40 degrees more than the one below and moves it out half a stud.
An InitScript runs in Play mode (F5) and in renders, never in Edit. Connect to Root.Heartbeat to run every frame; Stop disconnects everything and puts back what it changed. Directly under a CookVideo it may return function(time). The video calls it once per frame with its time, in Play, renders and exports, so it must depend on time alone, and it draws the video's picture layers itself.
