registerBeforeRender & delta
Hook logic before each frame with scene.registerBeforeRender(fn). Multiply motion by engine.getDeltaTime() (milliseconds) so bobbing and spins stay consistent across refresh rates — the same habit you want before easing into animation groups or physics.