GameObjects use functions in lua