function updateAll() -- time [0,1] local time = 0.5 * math.sin(os.time()) + 0.5 local pos = Vector3.Lerp(Vector3.up, Vector3.down, time) vci.assets.GetTransform("Subitem").SetLocalPosition(pos) end