Add-Lua: rotation finished event with index