Show raw api
{
"functions": [
{
"name": "tweenInstanceToCFrame",
"desc": "Tweens the CFrame of the given instance to `result` CFrame, using \n[Instance:PivotTo](https://create.roblox.com/docs/reference/engine/classes/PVInstance#PivotTo).\n\n```lua\ninstanceTranslationUtil.tweenInstanceToCFrame(someModel, TweenInfo.new(1), {CFrame = CFrame.new(0,100,0)})\n```\n\nhttps://devforum.roblox.com/t/is-there-any-way-i-can-tween-pivotto/1918057/2",
"params": [
{
"name": "instance",
"desc": "",
"lua_type": "BasePart | Model"
},
{
"name": "tweenInfo",
"desc": "",
"lua_type": "TweenInfo"
},
{
"name": "result",
"desc": "",
"lua_type": "CFrame\n"
}
],
"returns": [
{
"desc": "",
"lua_type": "Tween\n"
}
],
"function_type": "static",
"source": {
"line": 23,
"path": "src/instanceTranslationUtil/init.luau"
}
}
],
"properties": [],
"types": [],
"name": "instanceTranslationUtil",
"desc": " \n\nA simple utility for translating the `CFrame` property of base parts and model.",
"source": {
"line": 6,
"path": "src/instanceTranslationUtil/init.luau"
}
}