LuaFileComponentscriptOn this pageLuaFileComponent.script NameTypescriptScript Description The script object references the Lua script that is attached to the game object. From the script, you access the underlying game object and the callback functions.